Skip to content

jnericks/testlib-java

Repository files navigation

TestLib-Java

Build Status Code Coverage Download

Dependencies

What is TestLib-Java?

TestLib-Java is the base package that we utilize in our Java 8 unit test projects. We leverage JUnit because it is consistently stable, actively developed and is the easiest to grasp for engineers when learning to write testable code (utilizing TDD or not). Although we use JUnit, We wanted to be able to adopt a BDD style of testing where we can so this led to the SystemUnderTestFactory that will auto-generate an object pre-filled with mocks for your constructor based dependencies. This blog post by Mark Seeman explains the benefits for a SUTFactory, basically it allows your tests to be resilient to changes in the signatures of the constructors of the objects they are testing.

About

Base Test Library for Java 8 Projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages