When a test fails, you should be able to begin investigation with nothing more than the test’s name and its failure messages —no need to add more information and rerun the test.
Effective use of unit test frameworks and assertion libraries (
JUnit,
Truth,
pytest,
GoogleTest, etc.) serves two important purposes. Firstly, the more precisely we express ...
See more