Writing Your F.I.R.S.T Unit Tests
From DZone Java Zone
March 17, 2017 - 4:01pm
Unit tests are required to test singular sections of code. In Java, this would normally be a class. They provide confidence to programmers, allowing changes to be made. And by running tests throughout development, any changes that break the tests can be re-evaluated, whether that results in the production code being corrected or altering the test to make it pass. In this post, I will discuss the FIRST rules that are defined in the book Clean Code written by Uncle Bob Martin.
FIRST means that tests should be:
Continue reading this article »