Useful Tests

--

Testing is helpful in the face of changes and uncertainty. Delete tests that are not valuable.

Redundant coverage can kill a team’s morale. It’s the sort of thing that doesn’t bite you on day one because everything’s fast, and it’s easy to run.[¹]

Redundant coverage is more a social problem than a technical one. The team needs to Identify a clear set of testable layers based on value and usefulness.

For instance, in a framework like Ruby on Rails, the team might agree that browser tests are valuable, yet view and controller tests might be redundant. [¹]

[¹]: Justin Searls(2015): RubyConf 2015 — How to Stop Hating your Test Suite by Justin Searls(https://www.youtube.com/watch?v=VD51AkG8EZw)

--

--

Rafael A. George Duval
Rafael A. George Duval

Written by Rafael A. George Duval

✍🏼 Building a Solo Digital Media Company 🧪 Snippets of Text [https://snippetsoftext.substack.com/subscribe]

No responses yet