This repository compiles over ten years of experience with writing tests for the impossible:

  • Databases
  • Code that changes all the time (timestamps, Object IDs/hashes)
  • Workflows (setup - asserts - change - more asserts - change - even more ...)
  • Testing several values in a single assert
  • Testing bugs and workarounds
  • Project setup
  • Code generators
  • Documenting knowledge and expectations in unit tests

How do I get set up?

  • Clone the repo
  • Use Maven 3.x to get the dependencies and build
  • Look at the tests