51 Commits

Author SHA1 Message Date
Vladimir
1a81c21d28
feat(runner)!: set mode to todo if no function is passed down to test or describe (#8346) 2025-07-28 15:24:32 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
Ari Perkkiö
932d837c6e
fix(watch): filename filter runs duplicate tests in workspaces (#8250) 2025-07-03 14:27:23 +02:00
Vladimir
76fb75d424
fix!: remove deprecated workspace option in favor of projects (#8218) 2025-06-25 14:56:40 +02:00
Ari Perkkiö
82fcf5d53b
fix!: remove 'basic' reporter (#7884) 2025-06-18 10:06:40 +03:00
Vladimir
0f33506672
fix: rerun tests when project's setup file is changed (#8097) 2025-06-05 18:40:44 +02:00
Vladimir
41beb261e6
feat: deprecate workspace in favor of projects (#7923)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-05-05 18:49:26 +02:00
Ari Perkkiö
5e21181186
test: replace browser.name with browser.instances (#7477) 2025-02-13 17:11:26 +02:00
Ernest
01a597218a
fix(watch): properly remove cache after removing existing test files (#7399) 2025-02-10 17:28:49 +01:00
Hiroshi Ogawa
12eaf3ea43
chore: cleanup deps (#7434) 2025-02-06 12:43:33 +02:00
Vladimir
dff4406d9c
fix: filter projects eagerly during config resolution (#7313)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-23 14:00:59 +01:00
Hiroshi Ogawa
cc703362fb
fix: persist cli filters as watch mode file filter (#6955) 2024-12-09 11:31:29 +01:00
Vladimir
a3bef598ee
feat: print project name as a label (#6925) 2024-12-01 23:37:41 +01:00
Vladimir
a5bbc0a94a
feat: provide the current project to the global setup (#6942) 2024-11-25 17:01:03 +01:00
Vladimir
e26e066c77
feat(vitest): add onTestsRerun method to global setup context (#6803) 2024-11-13 17:01:32 +01:00
Vladimir
b01df47da0
fix: stop the runner before restarting, restart on workspace config change (#6859) 2024-11-08 10:02:23 +01:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
ziebam
028256491d
chore(deps): replace execa with tinyexec (#6454)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-09-06 13:37:19 +02:00
Hiroshi Ogawa
372a2c26a8
test: fix browser provider (#6427) 2024-08-30 08:40:29 +03:00
Vladimir
717bb2ea51
test: make watcher tests more stable on Mac OS (#6136) 2024-07-15 15:19:02 +02:00
Vladimir
80a43d5c7c
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#6077) 2024-07-10 15:08:44 +02:00
Vladimir
91ba6f95e4
fix(vitest): show all failed tests when rerunning a test (#6022) 2024-07-02 14:29:26 +02:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +02:00
Ari Perkkiö
7f8f9c0c05
fix!: change default pool to 'forks' (#5047) 2024-05-09 17:24:35 +02:00
Vladimir
ee097dbf23
ci: use forks pool for CLI tests (#5679) 2024-05-06 13:52:31 +02:00
Vladimir
bdce0a29db
feat: support standalone mode (#5565) 2024-05-02 15:16:48 +02:00
Vladimir
48fba19022
fix: use package.json name for a workspace project if not provided (#5608) 2024-04-26 15:45:12 +02:00
Vladimir
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00
Ari Perkkiö
780b187f22
feat(api): startVitest() to accept stdout and stdin (#5493) 2024-04-23 15:09:20 +02:00
Ari Perkkiö
a4ae57440a
test: fix stdin.test.ts pattern (#5001) 2024-01-19 07:26:26 +02:00
Yuta Nakamura
480d866aaa
feat: Add typeahead search (#4275) (#4733)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-01-12 14:25:33 +01:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Vladimir Sheremet
dd7ae1f46a chore: add type: module, remove old examples 2023-11-10 13:24:26 +01:00
AriPerkkio
42f3ca3114 test: disable flaky tests on CI 2023-11-10 13:01:12 +01:00
Ari Perkkiö
114a993c00
feat!: add support for pool and poolOptions, remove old flags (#4172) 2023-10-02 14:13:40 +02:00
Vladimir
a084ceafb3
fix(vitest): rerun tests if a file loaded with query changes (#4130) 2023-09-18 12:59:24 +02:00
Vladimir
c9aeac4cf2
feat: running vitest with --related --watch reruns non-affected tests if they were changed during a run (#3844) 2023-07-30 13:07:22 +02:00
Vladimir
17988e514e
fix: forceRerunTriggers correctly triggers a rerun (#3829) 2023-07-28 11:13:39 +02:00
btea
189959e5fa
chore: update truncateThreshold value (#3682) 2023-06-27 14:22:47 +02:00
Ari Perkkiö
5b73cbf8eb
fix(watch): junit reporter fails to re-generate report (#3496) 2023-06-05 14:25:17 +02:00
Ari Perkkiö
27185458a3
test: prevent typecheck conflict between watch and coverage tests (#3484) 2023-06-01 10:46:18 +02:00
Ari Perkkiö
9fbb8d31b6
test: reduce usage of execa, add runVitest test utils (#3436) 2023-05-24 09:15:52 +02:00
Dunqing
69d27117d8
feat(watch): press r should rerun current pattern tests (#3305)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-05-06 13:54:01 +02:00
Ari Perkkiö
8d4606eb01
feat(watch): test run cancelling, feat: --bail option for cancelling test run (#3163) 2023-04-26 21:04:30 +02:00
Ari Perkkiö
7b2c81bcbf
fix(watch): run test files when added to filesystem (#3189) 2023-04-14 17:19:31 +02:00
Vladimir
b9d1a97599
feat!: add workspace support (#3103) 2023-04-09 15:12:26 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
Vladimir
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff (#2828) 2023-03-29 14:16:52 +02:00
Vladimir
0f44d2c81f
feat: implement istanbul coverage support for browser testing (#3040)
Co-authored-by: AriPerkkio <ari.perkkio@gmail.com>
2023-03-28 11:13:48 +02:00
Ari Perkkiö
bde75a344e
fix: prevent running test cases timers after environment teardown (#2971) 2023-03-07 18:23:21 +01:00