TBC/pytest.ini
d-robotics 633a797226 AutoFlow v2.0: 合并 Test (Robogo) + data-loop-automation (D-Cloud) 为统一平台
- 16 个业务模块,856 个测试用例,40 个 E2E 测试
- 单一 React 19 前端 + PlatformSwitcher 二合一切换
- Flask 后端支持 scenario/dcloud_module/dcloud_e2e/dcloud_all 四种任务类型
- E2E 测试面板:API 全链路(8条) + UI 点击(3条) + 分步测试(3个)
- SSE 实时日志流 + 飞书告警 + 定时调度
- 完整还原原 ToB 平台 TestPanel E2E 模块
2026-06-23 11:48:29 +08:00

40 lines
1.6 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