Skip to content

dasilvacontin/dot-only-hunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
$ dot-only-hunter tests
Hunting inside 'tests' for tests with `.only`...
All good!

License

MIT © David da Silva

About

:squirrel: Hunt down `.only`s before it's too late.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages