Description / 描述
English:
Create integration tests for all API endpoints using WebApplicationFactory:
- Test all endpoints in
LedgerController
- Test all endpoints in
ConfigController
- Test authentication/authorization flows
- Test error responses
- Test with different data scenarios
中文:
使用 WebApplicationFactory 为所有 API 端点创建集成测试:
- 测试
LedgerController 中的所有端点
- 测试
ConfigController 中的所有端点
- 测试身份验证/授权流程
- 测试错误响应
- 使用不同的数据场景进行测试
Difficulty / 难度
Medium-Hard / 中等-困难
Estimated Time / 预计时间
8-10 hours
Acceptance Criteria / 验收标准
Before starting, please comment on this issue to let us know you're working on it!
开始前请在此 issue 下评论,让我们知道你正在处理它!
See CONTRIBUTING.md for contribution guidelines.
Description / 描述
English:
Create integration tests for all API endpoints using WebApplicationFactory:
LedgerControllerConfigController中文:
使用 WebApplicationFactory 为所有 API 端点创建集成测试:
LedgerController中的所有端点ConfigController中的所有端点Difficulty / 难度
Medium-Hard / 中等-困难
Estimated Time / 预计时间
8-10 hours
Acceptance Criteria / 验收标准
tests/WebLedger.IntegrationTestsWebApplicationFactoryfor testingBefore starting, please comment on this issue to let us know you're working on it!
开始前请在此 issue 下评论,让我们知道你正在处理它!
See CONTRIBUTING.md for contribution guidelines.