You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.
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.