The goal of JUnit is simple: to provide a framework for
testing code that developers will actually use. To do this,
it needs to:
-
Use familiar tools so developers don't need to learn new ones
-
Require no more work than is absolutely necessary
-
Eliminated duplicated work to setup and run the test
Unit tests should also:
-
Retain their value over time
-
Leverage existing tests when creating new ones


