dot-only-hunter
v1.0.3
Published
Hunt down `.only`s before it's too late.
Downloads
2,438
Maintainers
Readme
dot-only-hunter
Hunt down .only
s before it's too late.
Works with mocha, tape and any tests written in BDD, TDD and QUnit style.
Install
$ npm install --save-dev dot-only-hunter
Usage
$ dot-only-hunter -h
Usage: dot-only-hunter [test_dir][options]
-h, --help output usage information
-p, --prey <list> additional commma-separated list of names to hunt preciding .only
$ dot-only-hunter
dot-only-hunter: test: No such file or directory
$ dot-only-hunter tests
Hunting inside 'tests' for tests with `.only`...
tests/test.js:describe.only('jello-eater', function () {
Whoops! Found `.only` in your tests.
$ rm tests/test.js
Hunting inside 'tests' for tests with `.only`...
All good!
License
MIT © David da Silva