You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,10 @@ TCR stands for "test && commit || revert," a challenging and fun development wor
10
10
11
11
## Contents
12
12
13
-
-[How to Set It Up](#how-to-set-it-up)
14
13
-[What It Does](#what-it-does)
15
14
-[Temporary Bypass](#temporary-bypass)
15
+
-[TDD Mode](#tdd-mode)
16
+
-[How to Set It Up](#how-to-set-it-up)
16
17
-[References](#references)
17
18
18
19
## What It Does
@@ -21,18 +22,18 @@ Upon a successful test run, the commit script shows a dialog asking you for a co
21
22
22
23
Upon a test failure, the revert script will revert your changes. It deletes any new files. (Any files ignored by your repo will remain.) And it shows you a dialog to letting you know it did its business.
23
24
24
-
## TDD Mode
25
-
26
-
Because the commit and revert scripts are separate, you can choose to use just the commit script.
27
-
This turns the setup into a TDD tool: you can write failing tests and explore solutions freely.
28
-
Commits only happen when tests pass — but failures don’t revert your work.
29
-
30
25
## Temporary Bypass
31
26
32
27
To bypass TCR, deselect the Run script in the Testing Fails behaviors. This will keep any changes in place.
33
28
34
29
You can keep the Run script in place for Testing Succeeds. If you leave the commit message blank, it won't make a commit.
35
30
31
+
## TDD Mode
32
+
33
+
Because the commit and revert scripts are separate, you can choose to use just the commit script.
34
+
This turns the setup into a TDD tool: you can write failing tests and explore solutions freely.
35
+
Commits only happen when tests pass — but failures don’t revert your work.
36
+
36
37
## How to Set It Up
37
38
38
39
Clone this repo. Then in Xcode, open Settings and go to the Behaviors tab.
0 commit comments