[Opendnssec-develop] Jenkins/JUnit category/testnames
Jerry Lundström
jerry at opendnssec.org
Tue Jan 8 14:19:22 UTC 2013
Hi,
So about this…
If we want just one place for the information I suggest directory name in this format:
application.area.test_short-name
This can then be used straight up in JUnit as:
<package>.<classname>.<test short name>
Important:
- Dots will separate the different package/classname/testname and can therefor not exist anywhere else.
- Spaces in directory name should not be used (really as best practice), use _ or - instead.
We would have to rename all the directories again but if we, later on, implement subtests we could start merging mosts tests into a single one for example:
stage 1:
general-repository-capacity-01 => general.repository.capacity_100000
general-repository-capacity-02 => general.repository.capacity_4
general-repository-capacity-03 => general.repository.fail_capacity_0
general-repository-capacity-04 => general.repository.fail_capacity_1
stage 2:
general.repository.capacity_100000 + general.repository.capacity_4 => general.repository.capacity
subtests: capacity_100000 capacity_4
general.repository.fail_capacity_0 + general.repository.fail_capacity_1 => general.repository.capacity-fail
subtests: fail_capacity_0 fail_capacity_1
or just all into general.repository.capacity with all subtests.
What you say?
--
Jerry Lundström - OpenDNSSEC Developer
http://www.opendnssec.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20130108/effca638/attachment.bin>
More information about the Opendnssec-develop
mailing list