What happens when the only assertion is deleted?
The judgment behind the action
Some test runners allow a test body to complete without a useful assertion. Review what the test establishes, not just its exit status. Check that a regression test fails before the fix and succeeds after it. Fixture results in cglearn are simulated evidence.
A bounded way to ask
Inspect the assertion diff. Restore an assertion that checks the expected task IDs, then request before-and-after verification.
Identify a removed assertion hidden inside a green test report.
What happens when the only assertion is deleted?
Guided practice contributes completion, not independent mastery.
Make the lesson yours.
Your reflection is attached when you submit your decision. Drafts remain in this tab.
Try it somewhere unfamiliar.
Apply this skill to an unfamiliar repository: identify a removed assertion hidden inside a green test report. Record the evidence you would need.
Choose your next practiceSource checked 2026-09-09 · Documentation profile · Runtime example untestedOfficial reference