55 Commits

Author SHA1 Message Date
Vladimir
122ff321cc
feat(reporters): print import duration breakdown (#9105) 2025-12-02 16:48:29 +01:00
Vladimir
1b14737124
perf(experimental): add file system cache (#9026) 2025-11-20 11:29:19 +01:00
Vladimir
d6d3359ddb
feat(experimental): support OpenTelemetry traces (#8994) 2025-11-17 16:23:52 +01:00
Vladimir
2eedbce768
fix(spy): reset spies if both restoreMocks and mockReset is set in the config (#8781) 2025-10-23 18:30:36 +02:00
Vladimir
3dfe09526c
chore: remove vite-node from the monorepo (#8761) 2025-10-22 14:54:36 +02:00
Ari Perkkiö
4822d047a7
feat!: rewrite pools without tinypool (#8705)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-10-21 19:12:54 +02:00
Vladimir
0dc93ea988
feat: introduce separate packages for browser mode providers (#8629) 2025-10-01 15:58:13 +02:00
Vladimir
25fd32bf0a
fix!: verbose reporter prints tests in a list, introduce tree reporter (#8500)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-09-09 06:58:27 +02:00
Vladimir
2c2d1d4ce4
perf!: remove minWorkers and set it automatically to 0 in non watch mode (#8454) 2025-08-25 16:16:35 +02:00
Raul Macarie
d45f964c16
feat(browser): introduce toMatchScreenshot for Visual Regression Testing (#8041) 2025-07-22 15:19:06 +02:00
Vladimir
1e60c4f440
fix!: remove Node types from the main entry point, use vitest/node instead (#8200) 2025-06-20 17:01:02 +02:00
Vladimir
22f7f2db51
fix!: remove UserConfig type in favor of ViteUserConfig (#8196) 2025-06-20 12:34:20 +02:00
Ari Perkkiö
657e83f9fa
fix(cli): vitest run --watch should be watch-mode (#8128) 2025-06-10 17:33:14 +02:00
Vladimir
9cbfc231a0
feat(vitest): allow per-file and per-worker fixtures (#7704)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-05-31 14:07:34 +02:00
Vladimir
b03f2098a5
feat: annotation API (#7953) 2025-05-30 18:56:14 +02:00
Vladimir
910892ed93
chore: simplify working with UI package in dev (#8044) 2025-05-29 10:37:58 +02:00
Vladimir
703581b62f
fix: apply browser CLI options only if the project has the browser set in the config already (#7984) 2025-05-19 17:56:45 +02:00
Ari Perkkiö
4af5df33b5
feat: support custom colors for test.name (#7809) 2025-05-05 16:21:24 +02:00
Vladimir
03660f9d57
fix(browser): correctly inherit CLI options (#7858) 2025-04-29 17:41:09 +02:00
Ari Perkkiö
3fa7b78cbc
test: reduce max thread count when vitest-in-vitest (#7829) 2025-04-14 07:58:48 +03:00
renovate[bot]
4b0451d9e5
chore(deps): update dependency @antfu/eslint-config to v4 (#7407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-03-11 16:06:15 +01:00
Ari Perkkiö
8fe641b40a
fix(init): invalid browser config (#7475) 2025-02-13 16:15:39 +02:00
Ari Perkkiö
3c8050e69a
fix: don't toggle cli cursor on non-TTY (#7336) 2025-02-03 14:34:21 +09: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
Ari Perkkiö
6d23f4b11c
fix(benchmark): rewrite reporter without log-update (#7019) 2024-12-26 10:35:10 +02:00
Vladimir
78b62ffe1d
feat: allow multi-browser configuration (#6975) 2024-12-19 14:21:41 +01:00
Vladimir
9a1b501223
feat: prepare the Vitest API to be stable (#6962) 2024-12-10 11:12:47 +01:00
Vladimir
a3bef598ee
feat: print project name as a label (#6925) 2024-12-01 23:37:41 +01:00
Vladimir
93b67c24b1
fix: throw an error and a warning if .poll, .element, .rejects/.resolves, and locator.* weren't awaited (#6877) 2024-11-13 13:16:24 +01:00
Hiroshi Ogawa
07c19b8a04
test: fix webcrypto on node 18 (#6892) 2024-11-11 09:56:55 +02:00
Vladimir
b01df47da0
fix: stop the runner before restarting, restart on workspace config change (#6859) 2024-11-08 10:02:23 +01:00
Vladimir
169028f03a
feat(browser): allow custom HTML path, respect plugins transformIndexHtml (#6725) 2024-10-25 14:38:16 +02:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Vladimir
a939779f1d
fix(browser): increment browser port automatically if there are several projects with browser.enabled (#6717) 2024-10-16 08:55:40 +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
Vladimir
afdcb8f2b3
fix(workspace): correctly resolve workspace globs and file paths (#6316) 2024-08-12 19:13:28 +02:00
Vladimir
717bb2ea51
test: make watcher tests more stable on Mac OS (#6136) 2024-07-15 15:19:02 +02:00
Vladimir
583dd8a986
feat(vitest)!: add "vitest list" API to print collected tests without running them (#6013) 2024-07-03 17:51:33 +02:00
Vladimir
49e973cb92
feat(browser): add "init" command for browser tests (#5960) 2024-06-25 15:22:51 +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
Vladimir
f232fdd618
fix!: don't exit process if config failed (#5715) 2024-05-13 16:40:29 +02:00
Vladimir
959247e90f
refactor: remove old and outdated examples (#5611) 2024-04-30 12:27:01 +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ö
2a8e2fbf90
test: use startVitest instead of execa (#5439) 2024-03-31 11:09:28 +02:00
Ari Perkkiö
e77c553ffb
fix: --inspect-brk to pause before execution (#5355) 2024-03-14 15:55:06 +01:00
Vladimir
8877e22a09
fix(vitest): use development/production conditions when resolving external modules (#4980) 2024-01-17 11:20:43 +01:00
Ari Perkkiö
8b4a44ad16
feat!: support multiple parallel child_process (#3925) 2023-09-27 09:39:26 +02:00
Vladimir
0c53e0981a
fix: don't crash when using --experimental-vm-threads, interop CJS default inside node_modules (#3876) 2023-08-03 11:41:14 +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