https://github.com/heedrox/tcr-cli
A TCR (Test Commit Revert) command line utility for making it easier to develop through tcr
https://github.com/heedrox/tcr-cli
Last synced: 8 months ago
JSON representation
A TCR (Test Commit Revert) command line utility for making it easier to develop through tcr
- Host: GitHub
- URL: https://github.com/heedrox/tcr-cli
- Owner: heedrox
- Created: 2018-12-30T10:44:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T11:18:38.000Z (over 7 years ago)
- Last Synced: 2025-03-07T07:23:34.359Z (over 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tcr-cli
A TCR (Test Commit Revert) command line utility for making it easier to develop through tcr
# TCR
TCR (test, commit || revert), is a new way of developing, with similar basics to TDD. But with added constraints.
TCR forces you to make baby steps, through one constraint: every time tests fail, you must revert your code.
Learn more about this here:
https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864
https://twitter.com/bberrycarmen/status/1062421008261541888
# Usage
You can use it inside your node repo.
- `npm install --save-dev tcr-cli`
- Add scripts for test, commit, revert and push, in package.json
- Execute `tcr-cli`.
You can find an example here:
https://github.com/jmarti-theinit/test-commit-revert-node