-
Notifications
You must be signed in to change notification settings - Fork 79
Orienteer testing micro framework
Ilia Naryzhny edited this page Mar 15, 2015
·
2 revisions
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...
Wanna check it out? Use demo server! (Usernames/passwords: admin/admin, writer/writer, reader/reader)