Skip to content

coldrye-testing/junit-testing

Repository files navigation

junit-testing

This project aims to provide you with useful extensions for and other additions to JUnit5.

Provides commonly used code for junit-testing projects.

Provides commonly used test code for junit-testing projects.

Abstract test base class for enums. The default behaviour is to ensure 100% coverage on standard enums, so there is no longer an excuse for you not to write any tests for your enums.

Assertions for files and their content.

The extension provides you with an infrastructure for setting up and tearing down long running environments during your tests, something that you would not want to do before or after each test or before or after each test class.

For example starting and stopping an embedded Hadoop mini cluster or an embedded Kafka. Another example would be to pull and start a given docker image before that the first test is executed and tear it down when all tests have been executed.

Work in progress.

References