dot-only-hunter

1.0.3 • Public • Published

dot-only-hunter

Build Status npm npm Downloads

Hunt down .onlys 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

Package Sidebar

Install

npm i dot-only-hunter

Weekly Downloads

936

Version

1.0.3

License

MIT

Last publish

Collaborators

  • dasilvacontin