v0.5.0
Pre-release
Pre-release
This is a complete rewrite of a Vitest VSCode extension. All minor odd versions are considered a pre-release. You can use this version and give us feedback by switching to a pre-release version:
![Screenshot 2024-03-15 at 14 44 38](https://private-user-images.githubusercontent.com/16173870/313213197-3ad6e2bf-5423-4c8d-9fe5-d5743aa7fa9b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMTM3MjIsIm5iZiI6MTcyMDExMzQyMiwicGF0aCI6Ii8xNjE3Mzg3MC8zMTMyMTMxOTctM2FkNmUyYmYtNTQyMy00YzhkLTlmZTUtZDU3NDNhYTdmYTliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE3MTcwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmNGIxMjFkMzY0NDg2NzAzMWZjZmFjODg3ZjRkOTJkZTMzMTkyNzIwNGQyYmE2ODUzMWMxZTliOWQyYWQyZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rkPKdO2IBC935vMMyC8mEPz-JzHfW-k2bNGuGvRG5nM)
🚨 Breaking Changes
- Use Vitest public API instead of Vitest CLI - by @sheremet-va in #253 (0b70c)
- Requires Vitest 1.4.0 or higher
- Faster test execution (instant feedback when clicking on "start")
- Better continues mode integration
- Support for "each" tests
- Support in-source tests
🐛 Known Issues
- Currently, the extension requires
vite.config
orvitest.config
file to function - The "continues" mode doesn't update test results if several test functions are selected - it will use the last one selected. For now, you can use continues mode on a file without problems
- Sometimes debugger starts only on a second try
- When using debugger, tests are not marked as "enqueued"
- Update snapshot is not implemented, but button exists (does nothing)