No Excuses is a mockito extension created to make unit testing simple getters, setters, and constructors less tedious.
Purists desire an unrealistic 100% code coverage for all unit tests. The more pragmatic teams settle for 70-80% coverage. The 20-30% omission in coverage is both tedious to implement and of diminishing return. This is generally because writing tests for all accessors/mutators and constructors is time consuming, and those portions of the codebase are extremely low risk in terms of potential bugs. No Excuses offers a middle ground with an added benefit. It works in combination with coverage tools like emma or cobertura.
No Excuses will fill in coverage gaps on low risk methods leaving developers free to focus on writing meaningful tests for high-risk areas.
Get the latest download here: No Excuses Open-source Project