Testkits

This projects features test kits for different methods of testing.

Features

Testkit for Unit and Integration Tests.

The testkit features several JUnit rules and utility classes common to Unit and Integration tests, including:

  • ThreadLocal holder for the JUnit Description;
  • Guice injection rule for DI based tests;
  • Logging helpers;
  • WireMock rule with some additional helpers.

Testkit for Functional Tests.

The functional testkit main feature is the automatic installation of the Google Chrome browser and driver for Selenide based ui tests.

Testkit for using ngrok in tests.

The ngrok testkit includes a JUnit rule and Java client for managing tunnels during the lifecycle of tests.

Additional Details

Maven dependency information:

<dependency>
  <groupId>org.marvelution.testing</groupId>
  <artifactId>[testkit|functional-testkit|ngrok-testkit]</artifactId>
  <version>[version]</version>
</dependency>

License

Resources