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
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
|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||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||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.
Test the new rollover methods
|Test algorithm rollover|
|Test policy rollover|
|Allow ZSK and KSK to be the same key|
|Support for unsigned zones|