Skip to content

Releases: storybookjs/test-runner

v0.7.0

26 Aug 15:15
Compare
Choose a tag to compare

Release Notes

Update Jest to 28 (#174)

This release updates the internal version of Jest to version 28. You can now remove jest and jest-preset-playwright from your package.json if you're not using them in other parts of your project!


πŸš€ Enhancement

Authors: 1

v0.6.4

26 Aug 10:07
Compare
Choose a tag to compare

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

  • Add remark regarding different coverage providers #180 (@yannbf)

Authors: 1

v0.6.4-next.0

26 Aug 10:01
255c804
Compare
Choose a tag to compare
v0.6.4-next.0 Pre-release
Pre-release

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

  • Add remark regarding different coverage providers #180 (@yannbf)

Authors: 1

v0.6.3

24 Aug 20:17
Compare
Choose a tag to compare

Release Notes

Support storyStoreV7 in coverage check (#177)

This release fixes an issue where the coverage check was not working for projects using storyStoreV7.


πŸ› Bug Fix

  • Support storyStoreV7 in coverage check #177 (@yannbf)

Authors: 1

v0.6.3-next.0

24 Aug 20:05
8addce3
Compare
Choose a tag to compare
v0.6.3-next.0 Pre-release
Pre-release

Release Notes

Support storyStoreV7 in coverage check (#177)

This release fixes an issue where the coverage check was not working for projects using storyStoreV7.


πŸ› Bug Fix

  • Support storyStoreV7 in coverage check #177 (@yannbf)

Authors: 1

v0.6.2

24 Aug 12:22
Compare
Choose a tag to compare

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

  • feat: turn Jest into an internal dependency #175 (@yannbf)

Authors: 1

v0.6.2-next.0

24 Aug 12:20
d778968
Compare
Choose a tag to compare
v0.6.2-next.0 Pre-release
Pre-release

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

  • feat: turn Jest into an internal dependency #175 (@yannbf)

Authors: 1

v0.7.0-next.0

23 Aug 10:31
a43626e
Compare
Choose a tag to compare
v0.7.0-next.0 Pre-release
Pre-release

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

v0.6.1

23 Aug 10:33
Compare
Choose a tag to compare

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


πŸ› Bug Fix

Authors: 1

v0.6.0

23 Aug 09:40
Compare
Choose a tag to compare

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

  • feat: add console logs on test failure #157 (@yannbf)

πŸ› Bug Fix

Authors: 2