# tcr-cli

> A TCR (Test Commit Revert) command line utility for making it easier to develop through tcr

Latest version **1.0.0** (published 2018-12-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install tcr-cli
pnpm add tcr-cli
yarn add tcr-cli
bun add tcr-cli
```

Provides the command `tcr-cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-12-30 |
| First published | 2018-12-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 7.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jordi Martí |
| Maintainers | heedrox |
| Keywords | tcr, test, commit, revert, test, commit, revert, node, tdd |

## Links

- npm: https://www.npmjs.com/package/tcr-cli
- Repository: https://github.com/jmarti-theinit/tcr-cli
- Homepage: https://github.com/jmarti-theinit/tcr-cli#readme
- Issues: https://github.com/jmarti-theinit/tcr-cli/issues
- npm.io page: https://npm.io/package/tcr-cli

## Dependencies (4)

- [diff](https://npm.io/package/diff.md) ^3.5.0
- [readkey](https://npm.io/package/readkey.md) ^1.0.0
- [node-watch](https://npm.io/package/node-watch.md) ^0.5.9
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^5.0.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-12-30

## 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

---
_Source: https://npm.io/package/tcr-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
