Fork me on GitHub

Linking to Tests

Anchors surround the names of each test suite and test case in the report so that you can remotely link to them.

The format of the anchor names for test suites is as follows:

<package><suiteName>

Notice that there is no "." between the package name and the suite name.

The format of the anchor names for test cases is as follows:

TC_<package>.<suiteName>.<testName>

To illustrate with an example, suppose the following:

  • Package name: org.foo
  • Test suite name: FooTest
  • Test names: testFooWithBar, testFooWithBaz

The anchor name for the test suite would be "org.fooFooTest" and the anchor names for the test cases would be "TC_org.foo.FooTest.testFooWithBar" and "TC_org.foo.FooTest.testFooWithBaz".