Vitest 5 #9664
Replies: 6 comments 5 replies
-
|
What do people think about enabling |
Beta Was this translation helpful? Give feedback.
-
|
As a continuation of the current browser mode, I want to run tests across all sorts of environments, regardless of their runtime APIs 💙 (React Native in particular) |
Beta Was this translation helpful? Give feedback.
-
|
being able to get code coverage for browser mode would be nice . |
Beta Was this translation helpful? Give feedback.
-
|
Improvements on browser mode. Probably it needs full bundle mode support to handle bigger projects. |
Beta Was this translation helpful? Give feedback.
-
|
Visual regression testing improvements and scalability. Namely, being able to update/accept baselines individually or in batch via the UI. Alternatively, better extensibility of the browser mode UI to make it possible/easy to build, for example, a custom tab with custom previews and image review/acceptance UI. Currently we render our custom UI to the main iframe after tests end, which isn’t ideal. And being able to use custom (async) comparators - e.g., in our case we would like to compare not against baseline images stored in the repo but against our own image store. We also use a hashing mechanism to avoid downloading baseline images unless there is a failure, which can speed CI up considerably given that we have several thousand baselines. |
Beta Was this translation helpful? Give feedback.
-
|
React Server Components |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We wanted to start gathering feedback for the next major version. Vitest 4.1 is on its way and will include a lot of new features without any breaking changes (including tags,
aroundhooks,--detect-async-leaksand a newtest.extendsyntax with type inference).What are the feature that you would like to see in the next major and what are the bugs that you want us to prioritize?
What are the main pain points in your testing workflow right now?
Timeline
We generally do not have a strict timeline and try to align with Vite releases when possible. This time around Vite 8 will be released soon and it will be supported in Vitest 4.1, so we do not feel the pressure to release more breaking changes soon.
You can follow the current milestone for Vitest 5 here: https://github.com/vitest-dev/vitest/milestone/25
Experimental Features
We have released quite a few experimental features with the goal to improve debugging and testing performance. Consider leaving your feedback there:
Beta Was this translation helpful? Give feedback.
All reactions