Hacker News new | ask | show | jobs
by ajuc 526 days ago
That's why you make it break differently first. To see your changes have any effect.
1 comments

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.