146 Commits

Author SHA1 Message Date
Micha Huhn
1b29ff60fb
docs: fix typo (#8011) 2025-05-23 17:32:42 +02:00
berzi
e48c667df3
docs: minor prose improvements to it.for documentation (#7956) 2025-05-11 16:54:35 +09:00
Vladimir
ca743ede68
docs: deprecate old context augmentation and recommend test.extend (#7703) 2025-05-02 14:05:35 +02:00
Elijah Kennedy
9be32fb74d
docs: fix typo (#7886) 2025-04-24 18:20:51 +02:00
Vladimir
bc537a12d8
docs: update onTestFailed first argument (#7857) 2025-04-18 11:18:06 +02:00
Vladimir
6373ecc8ba
docs: show both test options examples (#7786) 2025-04-03 10:54:54 +09: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
Ryo Ochiai
df3477076c
feat: Introduce %$ option to add number of the test to its title (#7412) 2025-03-17 13:01:19 +01:00
Hiroshi Ogawa
0ad2860bf6
feat: add describe.for (#7253) 2025-01-15 08:49:42 +01:00
Vladimir
766624abd6
feat: introduce the new reporter API (#7069)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-14 16:46:44 +01:00
Arya Emami
8dd2071376
chore: fix various typos (#7054) 2025-01-08 14:21:45 +01:00
Gareth Jones
5ba49475dc
docs: remove disruptive comma (#7094) 2024-12-18 08:15:10 +01:00
Vladimir
82c2e24437
feat!: pass down context to test hooks (#7034) 2024-12-05 17:44:03 +01:00
Hiroshi Ogawa
aa1dac3de8
feat(runner)!: support describe(..., { shuffle: boolean }) and inherit from parent suite (#6670) 2024-12-05 16:03:35 +01:00
Vladimir
1a8d67090f
docs: remove outdated note (#6838) 2024-11-01 21:45:23 +01:00
btea
47d7c0aeb6
docs: add bench test case TaskResult type description (#6704) 2024-10-28 13:48:05 +01:00
btea
a6479cd7af
docs: bench Options type add throws description (#6695) 2024-10-12 14:13:14 +02:00
Vladimir
57d23cec43
docs: fix inconsistencies, remove low informative twoslash examples (#6200) 2024-07-23 14:52:21 +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
Hiroshi Ogawa
c238072fdf
feat(runner): implement test.for (#5861)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-06-11 11:58:58 +02:00
Vladimir
6598fba55b
docs: remove version badges (#5727)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-05-15 08:44:37 +02:00
Hiroshi Ogawa
222ce44119
feat!(runner): support concurrent suites (#5491) 2024-05-14 19:14:09 +02:00
Vladimir
23f29cea64
fix: always run onTestFinished in reverse order (#5598) 2024-04-23 16:45:26 +02:00
Vladimir
ba5c93e16c
docs: fix Badge display (#5539) 2024-04-22 10:05:56 +02:00
btea
20357e2e20
docs: add @shikiji/vitepress-twoslash (#5483) 2024-04-08 14:19:12 +02:00
Vladimir
fee7d8be9d
docs: fix reference to onTestFailed on the context (#5394) 2024-03-16 21:54:04 +01:00
Maximiliano Kazanski
b48586b51c
docs: fix links and badges error (#5239) 2024-02-20 14:19:33 +01:00
Vladimir
7d9b1fb023
feat(vitest): "test" accepts options object as the second parameter (#5142) 2024-02-15 12:51:39 +01:00
renovate[bot]
7a31a1ae42
chore(deps): update dependency @antfu/eslint-config to v2 (#5153) 2024-02-08 17:33:12 +01:00
Vladimir
6f5b42b7a8
feat(vitest): add onTestFinished hook (#5128) 2024-02-07 11:35:17 +01:00
Vladimir
7ca786570d
docs: use Badge to display versions (#4823) 2024-01-02 13:03:29 +01:00
dsyddall
64c3ec74f7
docs(api): add docs for describe.runIf (#4536) 2023-11-29 10:31:06 +01:00
Pascal Jufer
cb87f44e76
docs: fix grammar/stylistic issues (#4534)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-11-28 13:37:07 +01:00
dsyddall
c3619c78d8
feat: add test.sequential() api (#4512) 2023-11-16 13:11:58 +01:00
dsyddall
ca168a1402
fix: inherit concurrent/sequential in nested suites (#4482) 2023-11-15 16:43:27 +01:00
Vladimir
970038b2d0
docs: remove extra spaces before paragraphs in documentation (#4426) 2023-11-02 15:08:26 +01:00
Vladimir
5c88d8e582
feat(vitest): allow calling skip dynamically (#3966) 2023-08-16 15:41:41 +02:00
Joris
b7ce1959bd
Import "describe" in sample code (#3801) 2023-07-25 12:24:45 +02:00
Han
8693449b41
feat: support describe.sequential (#3771)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-07-19 17:14:48 +02:00
Han
a749a6c01f
feat: support use function/class as bench name (#3711) 2023-07-03 09:59:47 +02:00
Han
1621cc6365
feat: support accessing other fixtures in fixture function (#3651) 2023-07-03 09:59:22 +02:00
Vladimir
47383eb78a
docs: specify Vitest version for test.extend (#3683) 2023-06-27 13:41:27 +02:00
Dunqing
6d146d1690
fix(runner): make the default value of retry and repeats 0 (#3638) 2023-06-22 16:02:08 +02:00
Han
2db1a737f1
feat(runner): support test.extend (#3554) 2023-06-19 10:19:39 +02:00
Han Feng
15253890e6
feat(runner): support using function/class as describe/test name (#3497) 2023-06-05 14:26:15 +02:00
samkevin1
7c8f0ba989
feat: add repeat method to tests (#2652) 2023-04-15 13:00:45 +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
btea
c51433d074
docs: add chaiConfig note (#3144)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 15:52:09 +02:00
Tom Thumb
b67a5fbdf9
docs: update snapshot section to provide details on how to use with concurrent test (#2733)
Co-authored-by: Tom Thumb <github@asdfjkalsdfla.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-02-14 18:05:21 +01:00