René's URL Explorer Experiment


Title: Test | Vitest

Open Graph Title: Vitest

Description: Next generation testing framework powered by Vite

Open Graph Description: Next generation testing framework powered by Vite

Keywords:

Opengraph URL: https://vitest.dev/

Generator: VitePress v2.0.0-alpha.16

direct link

Domain: cn.vitest.dev

theme-color#22FF84
authorVladimir, Anthony Fu, Hiroshi Ogawa, Ari Perkkiö, Joaquín Sánchez, Patak, Raul Macarie and Vitest contributors
og:imagehttps://vitest.dev/og.jpg
twitter:cardsummary_large_image

Links:

Vite+ Alpha 发布:开源、统一、下一代工具链。https://voidzero.dev/posts/announcing-vite-plus-alpha?utm_source=vitest&utm_content=top_banner
Skip to contenthttps://cn.vitest.dev/api/test#VPContent
https://cn.vitest.dev/
指南https://cn.vitest.dev/guide/
APIhttps://cn.vitest.dev/api/test
配置https://cn.vitest.dev/config/
博客https://cn.vitest.dev/blog
v5.0.0-beta.5https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.5
更新日志https://github.com/vitest-dev/vitest/releases
贡献指南https://github.com/vitest-dev/vitest/blob/main/CONTRIBUTING.md
团队https://cn.vitest.dev/team
Releaseshttps://cn.vitest.dev/releases
未发布https://main.vitest.dev/
v3.xhttps://v3.cn.vitest.dev/
v2.xhttps://v2.vitest.dev/
v1.xhttps://v1.vitest.dev/
v0.xhttps://v0.vitest.dev/
Englishhttps://vitest.dev/api/test
https://bsky.app/profile/vitest.dev
https://elk.zone/m.webtoo.ls/@vitest
https://chat.vitest.dev
https://github.com/vitest-dev/vitest
Englishhttps://vitest.dev/api/test
https://bsky.app/profile/vitest.dev
https://elk.zone/m.webtoo.ls/@vitest
https://chat.vitest.dev
https://github.com/vitest-dev/vitest
Testhttps://cn.vitest.dev/api/test
Describehttps://cn.vitest.dev/api/describe
Hookshttps://cn.vitest.dev/api/hooks
Mockshttps://cn.vitest.dev/api/mock
Vi Utilityhttps://cn.vitest.dev/api/vi
Expecthttps://cn.vitest.dev/api/expect
ExpectTypeOfhttps://cn.vitest.dev/api/expect-typeof
Asserthttps://cn.vitest.dev/api/assert
AssertTypehttps://cn.vitest.dev/api/assert-type
reacthttps://cn.vitest.dev/api/browser/react
vuehttps://cn.vitest.dev/api/browser/vue
sveltehttps://cn.vitest.dev/api/browser/svelte
Context APIhttps://cn.vitest.dev/api/browser/context
Interactivity APIhttps://cn.vitest.dev/api/browser/interactivity
Locatorshttps://cn.vitest.dev/api/browser/locators
Assertions APIhttps://cn.vitest.dev/api/browser/assertions
Commands APIhttps://cn.vitest.dev/api/browser/commands
Vitesthttps://cn.vitest.dev/api/advanced/vitest
TestProjecthttps://cn.vitest.dev/api/advanced/test-project
TestSpecificationhttps://cn.vitest.dev/api/advanced/test-specification
TestCasehttps://cn.vitest.dev/api/advanced/test-case
TestSuitehttps://cn.vitest.dev/api/advanced/test-suite
TestModulehttps://cn.vitest.dev/api/advanced/test-module
TestCollectionhttps://cn.vitest.dev/api/advanced/test-collection
VitestPluginhttps://cn.vitest.dev/api/advanced/plugin
VitestRunnerhttps://cn.vitest.dev/api/advanced/runner
Reporterhttps://cn.vitest.dev/api/advanced/reporters
TaskMetahttps://cn.vitest.dev/api/advanced/metadata
TestArtifacthttps://cn.vitest.dev/api/advanced/artifacts
https://cn.vitest.dev/api/test#test
额外选项https://cn.vitest.dev/api/test#test-options
testTimeouthttps://cn.vitest.dev/config/testtimeout
迁移指南中 Done 回调章节https://cn.vitest.dev/guide/migration#done-callback
https://cn.vitest.dev/api/test#test-options
https://cn.vitest.dev/api/test#timeout
testTimeouthttps://cn.vitest.dev/config/testtimeout
https://cn.vitest.dev/api/test#retry
retryhttps://cn.vitest.dev/config/retry
https://cn.vitest.dev/api/test#repeats
https://cn.vitest.dev/api/test#tags
标签https://cn.vitest.dev/guide/test-tags
配置文件https://cn.vitest.dev/config/tags
strictTagshttps://cn.vitest.dev/config/stricttags
https://cn.vitest.dev/api/test#meta
元数据https://cn.vitest.dev/api/advanced/metadata
https://cn.vitest.dev/api/test#concurrent
sequence.concurrenthttps://cn.vitest.dev/config/sequence#sequence-concurrent
test.concurrenthttps://cn.vitest.dev/api/test#test-concurrent
describe.concurrenthttps://cn.vitest.dev/api/describe#describe-concurrent
sequence.concurrenthttps://cn.vitest.dev/config/sequence#sequence-concurrent
https://cn.vitest.dev/api/test#skip
test.skiphttps://cn.vitest.dev/api/test#test-skip
https://cn.vitest.dev/api/test#only
test.onlyhttps://cn.vitest.dev/api/test#test-only
https://cn.vitest.dev/api/test#todo
test.todohttps://cn.vitest.dev/api/test#test-todo
https://cn.vitest.dev/api/test#fails
test.failshttps://cn.vitest.dev/api/test#test-fails
https://cn.vitest.dev/api/test#test-extend
扩展测试上下文https://cn.vitest.dev/guide/test-context#extend-test-context
https://cn.vitest.dev/api/test#test-override
覆盖 Fixture 值https://cn.vitest.dev/guide/test-context#overriding-fixture-values
https://cn.vitest.dev/api/test#test-scoped
test.overridehttps://cn.vitest.dev/api/test#test-override
test.overridehttps://cn.vitest.dev/api/test#test-override
https://cn.vitest.dev/api/test#test-skip
上下文https://cn.vitest.dev/guide/test-context
https://cn.vitest.dev/api/test#test-skipif
https://cn.vitest.dev/api/test#test-runif
test.skipIfhttps://cn.vitest.dev/api/test#test-skipif
https://cn.vitest.dev/api/test#test-only
allowOnlyhttps://cn.vitest.dev/config/allowonly
https://cn.vitest.dev/api/test#test-concurrent
测试上下文https://cn.vitest.dev/guide/test-context
https://cn.vitest.dev/api/test#test-todo
https://cn.vitest.dev/api/test#test-fails
https://cn.vitest.dev/api/test#test-each
test.forhttps://cn.vitest.dev/api/test#test-for
TestContexthttps://cn.vitest.dev/guide/test-context
printf 格式化https://nodejs.org/api/util.html#util_util_format_format_args
taskTitleValueFormatTruncatehttps://cn.vitest.dev/config/tasktitlevalueformattruncate
https://cn.vitest.dev/api/test#test-for
TestContexthttps://cn.vitest.dev/guide/test-context
https://cn.vitest.dev/api/test#test-describe
describehttps://cn.vitest.dev/api/describe
https://cn.vitest.dev/api/test#test-suite
describehttps://cn.vitest.dev/api/describe
https://cn.vitest.dev/api/test#test-beforeeach
test.extendhttps://cn.vitest.dev/api/test#test-extend
beforeEachhttps://cn.vitest.dev/api/hooks#beforeeach
https://cn.vitest.dev/api/test#test-aftereach
test.extendhttps://cn.vitest.dev/api/test#test-extend
afterEachhttps://cn.vitest.dev/api/hooks#aftereach
https://cn.vitest.dev/api/test#test-beforeall
test.extendhttps://cn.vitest.dev/api/test#test-extend
beforeAllhttps://cn.vitest.dev/api/hooks#beforeall
https://cn.vitest.dev/api/test#test-afterall
test.extendhttps://cn.vitest.dev/api/test#test-extend
afterAllhttps://cn.vitest.dev/api/hooks#afterall
https://cn.vitest.dev/api/test#test-aroundeach
test.extendhttps://cn.vitest.dev/api/test#test-extend
aroundEachhttps://cn.vitest.dev/api/hooks#aroundeach
https://cn.vitest.dev/api/test#test-aroundall
test.extendhttps://cn.vitest.dev/api/test#test-extend
aroundAllhttps://cn.vitest.dev/api/hooks#aroundall
https://cn.vitest.dev/api/test#bench
测试上下文https://cn.vitest.dev/guide/test-context#bench
基准测试指南https://cn.vitest.dev/guide/benchmarking
在 GitHub 上编辑此页面https://github.com/vitest-dev/docs-cn/edit/dev/api/test.md
下一页Describehttps://cn.vitest.dev/api/describe

Viewport: width=device-width,initial-scale=1


URLs of crawlers that visited me.