Testing Your Solution

You can use Orienteer testing micro-framework to test a module you develop for Orienteer or a web application you build above Orienteer framework.

Using OrienteerTestRunner

@RunWith(OrienteerTestRunner.class)
@Singleton
public class TestMyFunctionality
{
   @Inject
   private OrienteerTester tester;

   ....
}

Using OrienteerRule

public class TestMyFunctionality
{
   @Rule
   public OrienteerRule orienteer = new OrienteerRule();

   @Inject
   private OrienteerTester tester;

   ....
}

Configuring a Custom Orienteer-based Project

Along with the common dependency on Orienteer

<dependency>
    <groupId>org.orienteer</groupId>
    <artifactId>orienteer-core</artifactId>
    <version>${orienteer.version}</version>
</dependency>

include a 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>

results matching ""

    No results matching ""