201 Commits

Author SHA1 Message Date
Vladimir
122ff321cc
feat(reporters): print import duration breakdown (#9105) 2025-12-02 16:48:29 +01:00
Vladimir
bb65e15c7f
fix(reporters): show project in github reporter (#9138)
### Description

<!-- Please insert your description here and provide especially info about the "what" this PR is solving -->

Resolves #issue-number

<!-- You can also add additional context here -->

### Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
- [ ] Ideally, include a test that fails without this PR but passes with it.
- [ ] Please, don't make changes to `pnpm-lock.yaml` unless you introduce a new test example.
- [ ] Please check [Allow edits by maintainers](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

### Tests
- [ ] Run the tests with `pnpm test:ci`.

### Documentation
- [ ] If you introduce new functionality, document it. You can run documentation with `pnpm run docs` command.

### Changesets
- [ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with `feat:`, `fix:`, `perf:`, `docs:`, or `chore:`.
2025-12-01 15:26:05 +01:00
Raul Macarie
821aa20021
feat(runner): Add full names to tasks (#9087) 2025-11-25 14:50:06 +01:00
Vladimir
1256b5ca34
fix: rename collect to import, remove prepare (#9091) 2025-11-25 11:00:59 +01:00
Raul Macarie
772923645f
feat(api): add extensible test artifact API (#8987) 2025-11-18 10:56:21 +01:00
Hiroshi Ogawa
3e19f27d03
fix: don't merge errors with different diffs for reporting (#8871) 2025-10-30 11:17:23 +01:00
Copilot
155521a857
fix: preserve reporter options from config when CLI reporters override them (#8794)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sheremet-va <16173870+sheremet-va@users.noreply.github.com>
2025-10-24 15:38:54 +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
Hiroshi Ogawa
ea6d7322ed
fix: avoid recursively applying $ and % formatting to test.for/each title (#8557) 2025-09-09 20:56:57 +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
Vladimir
a1cb9719a4
fix!: remove deprecated APIs (#8428) 2025-08-12 18:25:50 +02:00
Vladimir
b825ef87c5
fix: make sure test errors always have stacks property in Node.js context (#8392) 2025-08-06 18:03:32 +02:00
Ari Perkkiö
149f8e5095
fix(reporter)!: remove deprecated APIs (#8223)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-08-04 14:30:28 +02:00
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
9be01ba594
feat!: use module-runner instead of vite-node (#8208)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-07-28 13:43:53 +02:00
Vladimir
50da421cb5
test: lower expected import duration for better CI stability (#8313) 2025-07-15 15:02:58 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
Vladimir
f453237194
test: print onUserConsoleLog separetly from test run (#8312) 2025-07-15 14:42:33 +02:00
Vladimir
66bee836f5
fix!: remove deprecated types (#8203) 2025-06-21 19:48:02 +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
89a1cb626a
fix!: remove deprecated typecheck and runner types (#8199) 2025-06-20 14:13:28 +02:00
Vladimir
da59eb887b
fix!: replace deprecated ErrorWithDiff with TestError (#8195) 2025-06-20 11:58:26 +02:00
Ari Perkkiö
82fcf5d53b
fix!: remove 'basic' reporter (#7884) 2025-06-18 10:06:40 +03:00
Ari Perkkiö
3414692cb3
test: flaky test-run timing (#8150) 2025-06-12 09:58:32 +09:00
Ari Perkkiö
27df68a0e9
fix(reporter): task.meta should be available in custom reporter's errors (#8115) 2025-06-11 14:39:08 +02:00
Ari Perkkiö
7bd11a9b32
fix(runner): fast sequential task updates missing (#8121) 2025-06-09 12:57:56 +02:00
Vladimir
c8d6264bf4
feat: support rolldown-vite (#7509)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-06-04 17:53:27 +02:00
bstephen1
6db9f5207c
fix(reporter): allow dot reporter to work in non interactive terminals (#7994)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-06-04 09:19:47 +03:00
Vladimir
9b9f09bcb9
fix(spy): copy over static properties from the function (#7780) 2025-06-02 12:09:04 +02:00
Vladimir
35e313f8c9
fix(reporters): check the test result again when tests are rerunning (#8063) 2025-05-31 15:42:19 +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
3bdf05d19c
fix: ensure errors keep their message and stack after toJSON serialisation (#8053) 2025-05-30 13:12:32 +02:00
Andy Brenneke
95961e40ac
feat: track module execution totalTime and selfTime (#8027) 2025-05-29 10:39:44 +02:00
Nathan Sarang-Walters
abd3bb76a0
feat(reporter): add onWritePath option to github-actions (#8015)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-05-26 17:44:05 +02:00
Vladimir
330f9a40b1
fix: ignore non-string stack properties (#7995) 2025-05-19 15:55:30 +02:00
Vladimir
34f43ae687
fix(typecheck): avoid creating a temporary tsconfig file when typechecking (#7967) 2025-05-16 17:15:10 +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ö
4af5df33b5
feat: support custom colors for test.name (#7809) 2025-05-05 16:21:24 +02:00
Ari Perkkiö
d613b81305
fix(reporters): --merge-reports to show each total run times (#7877) 2025-05-05 14:34:29 +02:00
Vladimir
ca743ede68
docs: deprecate old context augmentation and recommend test.extend (#7703) 2025-05-02 14:05:35 +02:00
Vladimir
69ca425c69
fix(reporter): print test only once in the verbose mode (#7738) 2025-03-31 12:12:41 +02:00
Vladimir
b166efa285
fix(reporter): report tests in correct order (#7752) 2025-03-31 11:47:23 +02:00
renovate[bot]
7fc5a29083
fix(deps): update all non-major dependencies (#7600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-25 12:03:11 +09:00
Ari Perkkiö
ba9b51cccc
fix(reporter): --hideSkippedTests should hide suites too (#7695) 2025-03-19 15:16:04 +09:00
Ari Perkkiö
888793c31f
test: update reporter snapshot (#7689) 2025-03-17 16:26:57 +01:00
Vladimir
6adecb9036
feat(vitest): allow conditional context.skip(boolean) (#7659)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-17 13:05:26 +01:00
Hiroshi Ogawa
ea3d67b03b
feat: allow array element for test.each/for title formatting (#7522) 2025-03-17 13:03:51 +01:00
Ari Perkkiö
f9e1cb494e
feat(reporter): --silent=passed-only to log failed tasks only (#7530) 2025-03-17 13:02:27 +01:00