Skip to content

Support for bail mode and breaking changes

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jan 03:03
· 12 commits to 10.x since this release

10.0.0 (2025-01-03)

This release changes how regression tests are reported by the emitter. This will lead to breaking changes in test reporters that relies on the emitter to know the state of a test. However, it won't impact the end-user application.

The bail mode will allow exiting the tests runner as soon as there is one failing test. This could help in CI/CD pipelines to exit the workflow after first error. The final end-user API for enabling/disabling bail mode will be added to the @japa/runner package

Features

  • add support for bail mode (4d462ad)
  • add test failed and executed states (b965a8b)
  • introduced failed flag and change behavior of regression tests reporting (37e6ddd)

BREAKING CHANGES

  • The test runner no longer report regression tests with hasErrors
    and errors property. Instead a failing regression test is considered as passing
    in all the layers

What's Changed

  • chore(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in #73

Full Changelog: v9.0.1...v10.0.0