TestLink
test results will be written to a XML file which may be imported to a running
Testlink instance as described in the
user manual.See: Description
| Class | Description |
|---|---|
| AbstractInTestLinkRunListener |
Provides some basic methods mainly to set and get the current failure in a thread safe fashion.
|
| AbstractTestLinkRunListener<T extends AbstractInTestLinkRunListener> |
Abstract class which encapsulates the switching between Tests with and without
TestLink annotations. |
| TestLinkLoggingRunListener |
This class logs the start and end of executed tests to the injected
Logger. |
| TestLinkXmlRunListener |
Writes an additional TestLink XML file as described in Testlink's user manual.
|
| Annotation Type | Description |
|---|---|
| TestLink |
Annotation for marking
Tests the results of which should be reported in testlink xml file. |
By annotating your tests with TestLink
test results will be written to a XML file which may be imported to a running
Testlink instance as described in the
user manual.
You have to annotate your tests with TestLink and
provide either an externalId or internalId.
Tests annotated with Ignore will be marked as BLOCKED as well as
tests with failing assumptions.
You have to configure the surefire plugin to use the additional
TestLinkXmlRunListener or
TestLinkLoggingRunListener.
See documentation in these classes.
To run a test from Eclipse, add a main method which will collect the tests:
public static void main(String[] args) throws FileNotFoundException {
final JUnitCore core = new JUnitCore();
core.addListener(new TestLinkXmlRunListener());
core.run(EclipseIT.class);
}
Copyright © 2012–2013 1&1. All rights reserved.