bahmutov / focha

Mocha wrapper that runs previously failed tests first
8 stars 1 forks source link

Separate service to store failing tests #5

Closed bahmutov closed 7 years ago

bahmutov commented 7 years ago

Right now, if tests fail, the names of the failed tests are saved in a file .focha/.focha.json. If running on CI, then this file has to be cached / restored on the next run, which is a slight pain and is CI dependent. Would be really cool if there was a public service for open source projects where any CI could send failed test names after failing. The service would store the names for a specific project (maybe the OSS project should pass some unique key with it).

On next CI run, focha should fetch failing tests not from the .focha/.focha.json but ask this service? Would make it super simple and 0% config.

bahmutov commented 7 years ago

Started service at https://github.com/bahmutov/test-results-server

bahmutov commented 7 years ago

Version 1.2.0 has been published to NPM. The full release note can be found at focha/releases/tag/v1.2.0.

Tip: safely upgrade dependency focha in your project using next-update