Test_Agent/pytest.ini
jiawei.chen 6f6053ff51 feat: TestAgent 智能测试平台 v1.0
- CLI + Web 双平台,基于 LLM 的 TDD+DDD 自动化测试生成
- 集成 unified-test-platform 903 个 D-Cloud 用例 + 13 个 Robogo 场景
- Agent 5 步流水线: 扫描 -> DDD -> LLM 生成测试
- 精确回归 + UI 变更检查
- 可视化 HTML 测试报告
- 暗色/亮色主题切换
- 19 个 API 端点 + 6 个 SPA 页面
- 15/15 项 TDD+DDD 合规
2026-07-08 11:27:38 +08:00

41 lines
1.7 KiB
INI

[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--strict-markers
--tb=short
markers =
smoke: marks tests as smoke tests (core functionality)
login: marks login related tests
navigation: marks navigation related tests
workbench: marks workbench related tests
task: marks task operation tests
e2e: marks end-to-end tests
api: marks API tests
slow: marks tests that take longer to run
comprehensive: marks comprehensive test suites
ui: marks UI tests
flow: marks flow/integration tests
flaky: marks tests known to be flaky (auto-retried in CI)
real_creation: marks tests that create real resources
requires_cleanup: marks tests that require cleanup fixtures or teardown
destructive: marks tests that delete, stop, overwrite, or otherwise mutate existing resources
external_dependency: marks tests that strongly depend on external service state
dataset: marks dataset module tests
data_space: marks data space module tests
dataspace: marks data space module tests (alias)
model_workshop: marks model workshop module tests
monitor: marks monitor module tests
mirror_center: marks mirror center module tests
cloud_desktop: marks cloud desktop module tests
dev_machine: marks dev machine module tests
data_generation: marks data generation module tests
model_square: marks model square module tests
device_manage: marks device manage module tests
material_library: marks material library module tests
prompt_library: marks prompt library module tests
lora_finetune: marks lora finetune module tests
robogo: marks Robogo full-chain inspection scenarios (requires browser)