The aim of this simple unit testing framework in Java is to illustrate the use of various design patterns.
The design of the testing framework is inspired by the original JUnit 3 design.
That framework is not meant to be used in production. It is just an educational exercise.
The framework does not use any difficult Java constructs since it is aimed at entry level Java programmers and OO designers.
Feel free to create issues if you have ideas how to add new functionalities using new design patterns.
$ ./build.sh
$ ./runtests.sh org.lensunit.Basic
testTrivialOk OK
testEasyCases OK
testFailingTest FAILURE
java.lang.AssertionError
testFailingEquals FAILURE
java.lang.AssertionError: Expected 2 but got 4
Total 4 test(s) run, status is FAILURE