| Unit tests tell a developer that the code is doing things right; functional tests tell a developer that the code is doing the right things.
Unit tests: Unit tests are written from a programmer's perspective. They ensure that a particular method of a class successfully performs a set of specific tasks. Each test confirms that a method produces the expected output when given a known input.
Writing... |