Understand the Value and Cost of Tests

Learn about the value and cost of the tests in our Rails application.

We'll cover the following

Overview

Testing can be a boon to sustainability, but it can also work against us. If tests are too brittle, duplicative, slow, or focused on the wrong things, the test suite will drag the team down. This chapter will introduce a basic testing strategy and then discuss some useful tactics for implementing that strategy around the view code we’ve been writing. This strategy and its tactics are based on certain values as they relate to software quality, so let’s state those first.

Get hands-on with 1200+ tech skills courses.