News for hackers. Stuff that matters.
Re:The Timeless 9 Golden Rules of Debugging by snowfarthing on Monday January 13, 2025 @03:37PM (#42688841)
When working on a test that has several asserts, I have adopted the process of adding one final assert, "assert 'TEST DEBUGGED' is False", so that even when I succeed, the test fails -- and I could review to consider if any other tests should be added or adjusted.

Once I'm satisfied with the test, I remove the line.

There are no comments on this comment yet.