mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2026-12-02 13:53:47 +08:00
docs: update backend integration coverage
This commit is contained in:
parent
3585b09cdd
commit
f8280fc05c
@ -16,7 +16,7 @@ pnpm check
|
||||
|
||||
## Current Coverage
|
||||
|
||||
Vitest and Vue Test Utils cover URL redirects, request errors, API modules, the user store, SSE parsing, the streaming composable, safe Markdown, Login Form, and Chat Composer. Core thresholds are 60% for lines/statements/functions and 50% branches; v2 currently reports 72.25% lines.
|
||||
Vitest and Vue Test Utils cover URL redirects, request errors, API modules, the user store, SSE parsing, the streaming composable, safe Markdown, Login Form, and Chat Composer. Core thresholds are 60% for lines/statements/functions and 50% branches; v2 currently reports 76.68% lines.
|
||||
|
||||
Playwright uses a Pixel 7 profile for Home, three-language switching, Login, Mock API, AI Streaming/Stop, and 401 Redirect. The backend workspace adds `scripts/smoke.py`, which verifies Gin login/Project CRUD and authenticated FastAPI SSE through the real Vue proxy.
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ pnpm check
|
||||
|
||||
## 当前覆盖
|
||||
|
||||
Vitest + Vue Test Utils 覆盖 URL/Redirect、请求错误、API modules、user Store、SSE parser、streaming composable、安全 Markdown、Login Form 和 Chat Composer。核心范围门槛为 lines/statements/functions 60%,branches 50%;v2 实测 lines 72.25%。
|
||||
Vitest + Vue Test Utils 覆盖 URL/Redirect、请求错误、API modules、user Store、SSE parser、streaming composable、安全 Markdown、Login Form 和 Chat Composer。核心范围门槛为 lines/statements/functions 60%,branches 50%;v2 实测 lines 76.68%。
|
||||
|
||||
Playwright 使用 Pixel 7 配置覆盖 Home、三语言切换、Login、Mock API、AI Streaming/Stop 与 401 Redirect。后端工作区的 `scripts/smoke.py` 额外通过真实 Vue 代理验证 Gin 登录/Project CRUD 和 FastAPI 鉴权 SSE。
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user