https://github.com/greenheart/tdd-js-boilerplate
A minimal boilerplate for TDD with JS.
https://github.com/greenheart/tdd-js-boilerplate
Last synced: about 2 months ago
JSON representation
A minimal boilerplate for TDD with JS.
- Host: GitHub
- URL: https://github.com/greenheart/tdd-js-boilerplate
- Owner: Greenheart
- License: mit
- Created: 2017-01-02T21:00:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-04T10:23:26.000Z (over 8 years ago)
- Last Synced: 2025-01-15T08:17:10.059Z (3 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tdd-js-boilerplate
A minimal boilerplate for TDD with JS.## Built with
- Assertion library: `tape`
- Test runner: `npm scripts` + `tape-watch`
- Output formatting: `tap-diff`## Usage
- `npm test [files]` - Run specific test(s) once. **Default: `test/*`**
- `npm run tdd [files]` - Watch files using `tape-watch` and run specific test(s) continually. **Default: `test/*`**`[files]` is a string pattern matching files to be tested. E.g. `test/*.test.js`
For an example, check `example.js` and `test/example.test.js`.
## License
[MIT](LICENSE)