Links
OpenDNSSEC Developer Wiki
OpenDNSSEC Documentation
SoftHSM Developer Wiki
SoftHSM Documentation
Current location:
On this Page
A test script is available in trunk which generates a CSV file containing information extracted directly from the test scripts themselves. The script is at
http://fisheye.opendnssec.org/browse/opendnssec/trunk/testing/generate_test_case_info.sh
usage: generate_test_case_info <test_directory (optional-default is pwd)>
It walks the three sub test directories that might exist below the specified test directory (i.e. test-cases.d, test-cases-daily.d and test-cases-weekly.d).
As of now only the test scripts in trunk have been updated to work with this. In order for the script to extract information from comments in the script the appropriate comments must start with either #TEST:,#DISABLED:, #TODO: or #OPENDNSSEC/SUPPORT:.
The script currently writes its output to a CSV file which can then be viewed in any spreadsheet application. Example CSV and spreadsheets are attached to this page (choose Tools->Attachments).
Instruction on how to run tests locally: How To Develop tests locally
Application | Area | Test name | Type | Details | Comments |
---|---|---|---|---|---|
General | conf | privileges | D | Check enforcer and signer can start with varying privileges set | Tests exist but are off because of problems with the setup. |
Enforcer | ods-ksmutil | TEST ALL OPTIONS!! | |||
Enforcer | conf | ManualKeyGeneration | |||
Enforcer | rollover | ds-seen errors | ds-seen error cases (wrong key, right key/wrong state, etc.) | Tests added (r7042) but need to be checked by someone else. | |
Enforcer | rollover | Manual rollover | |||
Enforcer | policy | move zone | Move a zone between two policies. | ||
Signer | adapters | acl | check all the permutations of the acl | ||
Signer | adapters | rollovers | make sure to test key rollovers when using the adapters! | ||
Signer | zones | validation | Use an external validation tool (validns) to validate zone produced | validns is used in several tests now but we should still review if it could be used in more | |
Signer | zones | validation | Use a script to check the consistency of zone produced against the policy/database. | ||
Signer | ods-signer | TEST ALL OPTIONS!! | |||
Signer | zones | signatures | Sign a simple zone with a policy that has a short refresh period and short signature lifetimes. Leave ODS running long enough that the signatures expire and signer must generate new ones. |
Area | Sub-area | Smoke | Weekly | Details | Status | Who |
---|---|---|---|---|---|---|
Enforcer NG | Policy | Test the new rollover methods |
| |||
Test algorithm rollover | ||||||
Test policy rollover | ||||||
Allow ZSK and KSK to be the same key | ||||||
Support for unsigned zones |