This package has been deprecated

Author message:

Install mocha-bad-test-finder instead: https://www.npmjs.com/package/mocha-bad-test-finder

mocha-flaky-test-finder

0.0.3 • Public • Published

[DEPRECATED] Mocha Flaky Test Finder

This project has been deprecated in favour of: https://github.com/Dylanlan/mocha-bad-test-finder

Have some tests that decide to fail once every so often?

If so, this package might be for you!

This is a simple package to find flaky tests in a code repo.

It runs all tests in a specified directory multiple times, and finds tests that fail sometimes.

Usage:

npm install -g mocha-flaky-test-finder
flaky-test-finder --dir=/some/test/directory

Options:

--dir: look for tests in this directory (default .)
--runs: number of times to execute tests (default 100)

Examples:

# Runs all tests in current directory 10 times
flaky-test-finder --runs=10

# Runs all tests in /some/test/directory, 200 times
flaky-test-finder --dir=/some/test/directory --runs=200

TODO:

  • add some tests
  • test on various repos

Readme

Keywords

Package Sidebar

Install

npm i mocha-flaky-test-finder

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

6.63 kB

Total Files

6

Last publish

Collaborators

  • dylanstankievech