Orienteer testing micro framework - OrienteerBAP/Orienteer GitHub Wiki
There are 2 ways to enable Orienteer testing framework:
@RunWith(OrienteerTestRunner.class)
@Singleton
public class TestMyFunctionality
{
@Inject
private OrienteerTester tester;
....
}
public class TestMyFunctionality
{
@Rule
public OrienteerRule orienteer = new OrienteerRule();
@Inject
private OrienteerTester tester;
....
}
A long with common dependency on Orienteer
<dependency>
<groupId>org.orienteer</groupId>
<artifactId>orienteer-core</artifactId>
<version>${orienteer.version}</version>
</dependency>
include dependency to Orienteer and wicket-orientdb tests
<dependency>
<groupId>org.orienteer</groupId>
<artifactId>orienteer-core</artifactId>
<version>${orienteer.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ru.ydn.wicket.wicket-orientdb</groupId>
<artifactId>wicket-orientdb</artifactId>
<version>${wicket.orientdb.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
And that's all. You are ready to...