You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- ControllerFactory:封装14个Controller的创建(含完整Repository→Service→Controller依赖链) - TestDb:测试数据库辅助(TruncateAll+SeedData+SetRealPasswordHash+辅助查询) - DatabaseCollection:xUnit串行测试集合(共享cnc_test库) - 14个Controller测试文件覆盖所有API端点: Health(1) + Auth(6) + Brand(15) + Machine(10) + CollectAddress(10) + Worker(13) + Dashboard(9) + Settings(15) + Production(6) + Alert(7) + Log(4) + ScreenConfig(12) + Screen(11) + Option(8) = 127个测试 - 直接实例化Controller调用方法,不经过HTTP管线 - 使用真实数据库(cnc_test库),与Service.Tests共享同一测试库 |
1 week ago | |
|---|---|---|
| database | 1 week ago | |
| docs | 1 week ago | |
| frontend | 1 week ago | |
| src | 1 week ago | |
| tests | 1 week ago | |
| .gitignore | 1 week ago | |
| AGENTS.md | 1 week ago | |
| CncDataSystem.sln | 1 week ago | |
| 发那科系统采集示例.txt | 1 week ago | |