Skip navigation links

Package io.werval.test

Package class diagram package io.werval.test
JUnit Support.

See: Description

Package io.werval.test Description

JUnit Support. Testing Werval Applications

Werval Applications tests can be built in two ways:

The former allow to test the whole stack using an HTTP client in tests. The later allow to test the Application alone.

JUnit Support

JUnit support comes in two flavours:

You can choose to use whichever suits your needs and habits.

Using WervalRule and WervalHttpRule is the prefered way of writing Werval tests as it don't force you to extend from any base class.

Werval HTTP JUnit Support has transparent integration with rest-assured if it is detected on the tests classpath. rest-assured base URL is set accordingly to the Werval configuration so one can use relative paths when using it.

Skip navigation links