1.0.0 • Published 11 months ago

until-death v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

until-death

You know when you have a test in CI that fails all the time and never fails locally?

Well, it usually does fail locally but never on the first run, or the second, or the third.

until-death to the rescue. Run a command repeatedly until it dies. Enabled debug logging. Go and make a cup of tea. Have a nap. Eventually it'll fail and you'll have everything you need to debug the failure.

Install

$ npm i -g until-death

Usage

$ until-death ... your command

E.g.:

$ DEBUG=* until-death npm run test -- --grep 'flaky test'
1.0.0

11 months ago