Interface | Description |
---|---|
WervalHttpTestSupport |
Werval HTTP Test Support contract.
|
WervalTestSupport |
Werval Test Support contract.
|
Class | Description |
---|---|
WervalHttpRule |
Werval HTTP JUnit Rule.
|
WervalHttpTest |
Base Werval HTTP JUnit Test.
|
WervalRule |
Werval JUnit Rule.
|
WervalTest |
Base Werval JUnit Test.
|
Werval Applications tests can be built in two ways:
JUnit Support
JUnit support comes in two flavours:
WervalRule
and WervalHttpRule
;WervalTest
and WervalHttpTest
.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.