Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Dev Testing Frameworks

Michael edited this page Nov 25, 2015 · 1 revision

Behaviour testing

The implementation of complicated rules is not always easy to read. A good way to document and explain the behaviour of rule engines are natural language tests. A frame work we use for that is jgiven. We write the tests using the [dataprovider] (https://github.com/TNG/junit-dataprovider) runner. This is basically a runner that allows to use parametrized tests.

The basic testing frame work is still JUnit4, assertions are made using hamcrest and we mock complicated input classes with mockito.

Clone this wiki locally