Skip to content

danielleberre/lensunit

Repository files navigation

Simple unit testing framework for educational purpose

Build Status Quality Gate Status

Goal

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.

How to give it a try?

$ ./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

Design patterns used so far

About

Simple unit testing framework for educational purpose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published