News for hackers. Stuff that matters.
Re:Unit Testing Is Overrated by tanilama on Thursday July 09, 2020 @08:02AM (#23779242)
TBH

SQLite is suitable for 100% coverage.

A lot of application code or workflow style code is hard to reach 100% coverage as they are rarely triggered.

Re:Unit Testing Is Overrated by ben509 on Thursday July 09, 2020 @08:44AM (#23779562)
The rarely triggered code is exactly where you want unit tests.

That's an opportunity to describe, in code, what that path is supposed to do, and then make sure it does it.