Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Highlights 💡
Incremental re-runs in watch mode
Watch mode now supports incremental re-runs. When a test file or its dependencies change, Rstest intelligently re-executes only the affected tests, significantly improving testing efficiency.
Test projects
Support define & run multiple test projects via
projects
configuration. This allows users to define and run tests across multiple project directories with different configurations, enabling better organization of test suites in monorepo structures.What's Changed
New Features 🎉
feat: re-run on demand in watch mode. by @fi3ework in feat: re-run on demand in watch mode. #475
feat: support test projects by @9aoy in feat: support test projects #420
feat: support
onTestFinished
hook by @9aoy in feat: supportonTestFinished
hook #493feat: support
onTestFailed
hook by @9aoy in feat: supportonTestFailed
hook #501feat: support restart when project config changed by @9aoy in feat: support restart when project config changed #514
Bug Fixes 🐞
onTestFinished
to testContext by @9aoy in fix: addonTestFinished
to testContext #494Document 📖
TestContext
by @9aoy in docs: addTestContext
#495Other Changes
isFirstCompile
instead ofisFirstRun
by @9aoy in chore: useisFirstCompile
instead ofisFirstRun
#506@testing-library/jest-dom
by @9aoy in chore: update react example with@testing-library/jest-dom
#510Full Changelog: v0.2.2...v0.3.0