TestUtil is a Java open source Automated Method Testing strategy and tool for verifying all matching accessor methods on mutable objects with a single line of unit test code. It is compatible with both in-container and outside-the-container strategies extending JUnit.

For practitioners of Test-Driven Development, TestUtil recursively interrogates the code base and reflectively creates "test" instances (or random primitives) for verification. This "Automated" approach enables "direct" testing of "getters" and "setters" immediately upon class creation.

Observed positive side-effects include design cohesion.

TesstUtil Download  

© 2018 GTC