From 2c300dd66420e91af428ce7086d0628660b65caf Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Thu, 26 Sep 2024 04:21:29 -0500 Subject: [PATCH] Tweak TDD description --- docs/src/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/index.md b/docs/src/index.md index 3e7617c6..09167893 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -146,10 +146,11 @@ With Revise, you can - fix the bug while simultaneously developing a high-quality test - verify that your test passes with the fixed code +- commit the test, but not the fix - `git stash` your fix and check that your new test fails on the old code, thus verifying that your test captures the essence of the former bug (if it doesn't fail, you need a better test!) -- `git stash pop`, test again, commit, and submit +- `git stash pop`, test again, commit the fix, and submit all without restarting your Julia session.