3.2.0 • Published 3 years ago

tape-index v3.2.0

Weekly downloads
29
License
ISC
Repository
github
Last release
3 years ago

*nix build status Windows build status Tests coverage Transpilation status npm version

tape-index

Ensure all package modules are covered by tests

Creates tests index (test run entry point) which loads all tests files and ensures failures to be exposed for modules which do not seem to have corresponding test files

For example, for foo.js module, utility will expect either test/foo.js test file or test/foo folder with multiple test files.

Installation

$ npm install tape-index

Usage

In project path:

$ npx tape-index

Will create a test.index.js file, that when run will indicate with fail missing test files and will invoke all existing modules tests.

Following npm scripts setup is recommended

{
	"test-prepare": "tape-index",
	"test-run": "node test.index.js",
	"test": "npm run test-prepare && npm run test-run"
}

Tests

$ npm test
3.2.0

3 years ago

3.1.0

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago