Links
OpenDNSSEC Developer Wiki
OpenDNSSEC Documentation
SoftHSM Developer Wiki
SoftHSM Documentation
Current location:
This page serves to capture some process related to adding and developing test cases
On this Page
SANDBOX:
test-cases.d: For core functionality tests (enforcing, signing and command line tools) that cover default or typical configuration success cases. Try not to add tests that make the total test run time longer than 20 mins.
test-cases-daily.d: For everything else until the total test time gets too long...
test-cases-weekly.d: Doesn't exist yet but will be created if the daily tests get to long.
The test case names are important in two ways. Firstly they should describe what the test does so this can be seen at a glance. Secondly they are used by JUnit to categorise the test and then generate all the detailed output of the individual tests.
The test cases should have names split into 3 parts separated by dots as follows:
application.area.test_short_name
The words in the test name should be separated by underscores and can have an optional number added at the end. The three parts are:
So for example we might have tests called:
enforcer.keys.export_as_ds
enforcer.keys.export_as_dnskey_rr
signer.adaptors.bind_stress_test-01
general.repository.opendnssec_XXX
The correct format is important is as it is used to categories the tests in JUnit!
Top Level | Coverage |
---|---|
Enforcer | All things enforcer including:
|
Signer | All things signer including:
|
General | Everything else...
|