Before researching a feature carefully inspect if already there

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the workflows category.

Last Updated: 2022-12-01

I wanted a tool SimpleCov to display the coverage percent (e.g. 78%) after a test run which output as follows:

Coverage report generated for RSpec to /Users/jack/code/oxnotes4/coverage

I researched how to get coverage percent within this output. Eventually I realized I had it all along. The issue was that I had stopped reading the output line after the filename for the coverage report. I never noticed that the % coverage was actually printed next:

Coverage report generated for RSpec to /Users/jack/code/oxnotes4/coverage. 1071 / 9515 LOC (11.26%) covered.

What I should have done, was pay more attention to the logged output of the thing I was trying to change before looking into it further.

Something that would help, from a design perspective, was if each library logged in a different color or a prefix with the library name... that would help filter the noise.