Skip to content

Latest commit

 

History

History

tessa-test-annotations

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Tessa Test Annotations

Tessa Test Annotations provide additional annotations that are no standard means of JUnit, etc.

The annotations are used to distinctively express information in the test source code to allow for extraction during the generation of test documentation.

Therefore, they have no implication on the behavior of the annotated code, their only purpose is documentation, i.e., the Tessa Maven Plugin uses the annotations as entrypoint to retrieve information. The compiler discards the annotations.

Available Annotations

The following annotations are available:

Annotation Description Example

@Status

Status of the test (method or class). The value can be any String.

@Status("Documented")
class MyTests {

  @Test
  @Status("Documented")
  void testCase() {}
}