Is there any existing way or plans to support description of JUnit test cases within the Java code which could be further carried to JUnit reports?
This functionality would be very conveniant to enhance lisibility of the test cases and improve traceability between test cases and design requirements.
Javadoc of Test methods could be used for this purpose if JUnit reports were using this information
example:
@Test(description="testing req#1234")
void testReq1234() {
[...]
}
@Test(description="this is testing myValue against range[0..10]")
void testMyValueRange() {
int value = getSomeValue();
assertFalse("value out of range", value < 0);
assertFalse("value out of range", value > 10);
}