A scalable and flexible framework used as complement to standard assertions for different kind of units.
Currently supported Java LTS: 8+
Do you have an idea for features or support that sounds in-line with this project? Create an issue and share your thoughts!
<dependency>
<groupId>io.github.mattiaspersson09</groupId>
<artifactId>junisert-core</artifactId>
<version>0.1.0</version>
<scope>test</scope>
</dependency>
testImplementation("io.github.mattiaspersson09:junisert-core:0.1.0")
For documentation and user guide, visit Junisert GitHub pages: https://mattiaspersson09.github.io/junisert
This project were created from a need and desire to test structural boilerplate code with or without behavior. With continuous support where users should have the ability to register their own support, without needing to wait for new supported Java types.
This project starts with supporting Java version 8 but should be able to be used with newer LTS, to accommodate different teams which are not equally up to date with the current LTS.
This project is not created to replace well established testing frameworks and libraries (i.e. JUnit, TestNG, AssertJ) that tests values. Rather give a helping hand with testing boilerplate code in entire units, to ensure structural integrity and behavior.
Credit goes to OpenPojo and pojo-tester for laying groundwork and inspiration that sparked the birth of this project.
- Be free from external code dependencies to not clutter users code base when it's not needed.
- Be a complement to users already favorite testing frameworks.
- Provide broad support for values during testing.
- Able to test units regardless of field- or method-conventions, different teams might have their own conventions.
- Give the user ability to register their own prioritized dependency values when predefined support isn't enough, to avoid getting stuck when testing.
- Give the user ability to block value types during assertion.
- Guarantee 100% code coverage when asserting on boilerplate code.