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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Base Test Library for Java 8 Projects
License
jnericks/testlib-java
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Base Test Library for Java 8 Projects
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published