Releases: storybookjs/test-runner
v0.7.0
v0.6.4
Release Notes
add --junit flag to test runner (#179)
The test runner now supports JUnit XML test reports out of the box with a --junit
flag:
yarn test-storybook --junit
With that flag, the test runner will add jest-junit
to the reporters list and generate a test report in a JUnit XML format. You can further configure the behavior of jest-junit
by either setting specific JEST_JUNIT_*
environment variables or by defining a jest-junit
field in your package.json with the options you want, which will be respected when generating the report. You can look at all available options here: https://github.com/jest-community/jest-junit#configuration
π Bug Fix
π Documentation
Authors: 1
- Yann Braga (@yannbf)
v0.6.4-next.0
Release Notes
add --junit flag to test runner (#179)
The test runner now supports JUnit XML test reports out of the box with a --junit
flag:
yarn test-storybook --junit
With that flag, the test runner will add jest-junit
to the reporters list and generate a test report in a JUnit XML format. You can further configure the behavior of jest-junit
by either setting specific JEST_JUNIT_*
environment variables or by defining a jest-junit
field in your package.json with the options you want, which will be respected when generating the report. You can look at all available options here: https://github.com/jest-community/jest-junit#configuration
π Bug Fix
π Documentation
Authors: 1
- Yann Braga (@yannbf)
v0.6.3
v0.6.3-next.0
v0.6.2
Release Notes
feat: turn Jest into an internal dependency (#175)
The Storybook test runner will now contain Jest as an internal dependency, which means that if you installed Jest just for the purpose of using the Storybook test runner, you can now remove it!
π Bug Fix
Authors: 1
- Yann Braga (@yannbf)
v0.6.2-next.0
Release Notes
feat: turn Jest into an internal dependency (#175)
The Storybook test runner will now contain Jest as an internal dependency, which means that if you installed Jest just for the purpose of using the Storybook test runner, you can now remove it!
π Bug Fix
Authors: 1
- Yann Braga (@yannbf)
v0.7.0-next.0
Release Notes
support Storybook 7.0 root selector (#172)
Feature:
In Storybook 7.0, the root selector changed from #root to #storybook-root. Both selectors are now supported in the internals of the test runner
π Enhancement
π Bug Fix
Authors: 2
- Andy Kenward (@andykenward)
- Yann Braga (@yannbf)
v0.6.1
v0.6.0
Release Notes
fix --watch cli option (#168)
The --watch
flag was previously not working, and now it's fixed.
feat: throw error on unconfigured coverage when running with --coverage (#166)
The test runner now throws an error when running yarn test-storybook --coverage
and the coverage is not correctly set up. This could mean that an user might be running --coverage
without instrumenting their code with istanbul, which would lead to problems!
feat: add console logs on test failure (#157)
This version adds console logs to the output of failed tests, in order to as provide as much information as possible to help you diagnose your issues.
π Enhancement
π Bug Fix
- Add commit hooks #170 (@yannbf)
- undo Jest 28 support #169 (@yannbf)
- fix --watch cli option #168 (@yannbf)
- feat: throw error on unconfigured coverage when running with --coverage #166 (@yannbf)
- Document new cli options #167 (@yannbf)
- Add nightly check for failures #165 (@yannbf)
- Update stories in example Storybook #164 (@yannbf)
- use storybook@future on nightly script #162 (@yannbf)
Authors: 2
- Andy Kenward (@andykenward)
- Yann Braga (@yannbf)