org.junit' classes.See: Description
| Interface | Description |
|---|---|
| FactoryBasedJ8UnitTest<SUT> |
In case a subject-under-test (SUT) based J8Unit test uses a SUT factory to produce fresh SUT instances, this
interface should be used in preference to
J8UnitTest. |
| J8UnitTest<SUT> |
Base interface of subject-under-test (SUT) based J8Unit tests.
|
| Class | Description |
|---|---|
| Assert |
According to the goals of J8Unit, this packages contains base J8Unit
components and any required extension of org.junit' classes.
In detail, this package provides the very base J8Unit test class super-interface (
J8UnitTest) and its subject-under-test (SUT) factory based customisation (
FactoryBasedJ8UnitTest). J8UnitTest and the J8Unit way of utilising
interface default methods is a key feature of J8Unit.
Further, additional assertion methods (see Assert) are specified in order to allow lazy generation
of failure messages. These assertion methods syntactically base on Supplier whereas the
main benefit is gained when calling these methods using lambda expressions. Any main details can be found within the
documentation of J8UnitTest and Assert respectively.
Copyright © 2015. All rights reserved.