Files
antd-admin/apps/docs/content/en/testing/running-tests.mdx
zuiideaandCursor b8bb7713b3 docs: align site with modular src/api layout
Document API_PREFIX, folder structure, templates, and E2E script usage in en/zh.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 21:17:47 +08:00

26 lines
541 B
Plaintext

---
title: Running Tests
description: Run unit and e2e tests in this repository
---
# Running Tests
Run tests from repository root or per app.
From a template app directory (`apps/basic` or `apps/with-lingui`):
```bash
pnpm run test:unit
pnpm run test:e2e
pnpm run test:e2e -- e2e/login.spec.ts e2e/users.spec.ts # focused core flows
pnpm run test:e2e:ui
```
Monorepo-wide (if configured):
```bash
pnpm -r test
```
Set up CI to run `vp check` and E2E on pull requests before merge. See each app **`AGENTS.md`** for toolchain rules.