删除内容: - 前端: health/(67文件), ai/(2文件), Copilot, MediaPicker, 相关API/Store/Hook - 后端: wechat_handler, wechat_service, wechat_user entity, analytics handler, ai_workflow_seed - 配置: WechatConfig, AppConfig.wechat, AuthState wechat 字段 - 启动: 微信凭据检查块, ensure_ai_workflows() 调用 - 迁移: 新增 m20260613_000170_drop_wechat_users.rs - 脚本: api_test_health_alert.py, api_test_mp.py, mpsync.sh/ps1 - E2E: health-data page, flows/ 目录 保留: erp-core/auth/workflow/message/config/plugin + 基座前端 + 通用组件
32 lines
945 B
Rust
32 lines
945 B
Rust
#![allow(unused)]
|
|
#![allow(dead_code)]
|
|
|
|
mod test_auth_module;
|
|
mod test_config_module;
|
|
mod test_message_module;
|
|
mod test_plugin_module;
|
|
mod test_report;
|
|
mod test_workflow_module;
|
|
mod test_common;
|
|
|
|
use test_report::{TestReport, TestSuite, TestCase};
|
|
|
|
pub use test_auth_module::run_auth_tests;
|
|
pub use test_config_module::run_config_tests;
|
|
pub use test_message_module::run_message_tests;
|
|
pub use test_plugin_module::run_plugin_tests;
|
|
pub use test_workflow_module::run_workflow_tests;
|
|
|
|
pub fn run_all_tests() -> TestReport {
|
|
let mut report = TestReport::new("ERP Platform Full Integration Test Report".to_string());
|
|
let start = std::time::Instant::now();
|
|
|
|
report.add_suite(run_auth_tests());
|
|
report.add_suite(run_config_tests());
|
|
report.add_suite(run_message_tests());
|
|
report.add_suite(run_workflow_tests());
|
|
report.add_suite(run_plugin_tests());
|
|
|
|
report.elapsed_ms = start.elapsed().as_millis() as u64;
|
|
report
|
|
}
|