@japa/run-failed-tests
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@japa/run-failed-tests

Japa plugin to run only failed tests

github-actions-image npm-image license-image typescript-image

The @japa/run-failed-tests plugin runs only the failed tests on subsequent runs.

Here's how it works under the hood.

  • You ran the tests suite, and a couple of tests failed.
  • On the next run, only the failed test will run.
  • If all tests are green, the next run will execute all the tests.
npm i @japa/run-failed-tests 
import { runFailedTests } from '@japa/run-failed-tests'

configure({
  plugins: [runFailedTests()]
})

Readme

Keywords

Package Sidebar

Install

npm i @japa/run-failed-tests

Weekly Downloads

9,907

Version

1.1.1

License

MIT

Unpacked Size

8.5 kB

Total Files

5

Last publish

Collaborators

  • virk
  • romainlanz
  • julien-r44