Testing Frameworks
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.
Last modified June 28, 2022: feat(docs): Add docs from main sw360 (5b96381)