Claude
35f33429a1
feat(tests): add platform regression tests and cron cancel test
...
Add:
- T-241: Discord embed format regression test
- T-242: Telegram command parsing regression test
- T-243: DingTalk crypto/regression test
- T-252: Cron job cancellation regression test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 11:00:48 +08:00
Claude
417be88a4f
feat(tests): add missing smoke and regression test cases
...
Add:
- T-111: Markdown rendering smoke test (TestSmoke_MarkdownRender)
- T-112: Webhook callback smoke test (TestSmoke_WebhookCallback)
- T-221: Error message formatting regression test (TestRegression_ErrorFormatting)
- T-234: Session persistence regression test (TestRegression_SessionPersistence)
- T-235: Multi-workspace isolation regression test (TestRegression_WorkspaceIsolation)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 10:57:56 +08:00
Claude
7671660252
feat(tests): add P0 regression tests
...
Add regression tests for critical functionality paths:
Message Pipeline (R-200~R-205):
- TestRegression_FullMessagePipeline: end-to-end message flow
- TestRegression_ConcurrentAgents: multi-agent concurrency
- TestRegression_AgentTimeout: timeout and graceful shutdown
- TestRegression_AgentGracefulShutdown: clean session termination
- TestRegression_StreamingResponse: streaming event handling
Permission/Security (R-210~R-214):
- TestRegression_PermissionYOLO: auto-approve mode
- TestRegression_PermissionDefault: role-based access
- TestRegression_SecretRedaction: sensitive data masking (table-driven)
- TestRegression_TokenRedaction: token replacement
- TestRegression_CommandInjection: allowlist validation
- TestRegression_RateLimit: rate limiting per user
Additional Regression Tests:
- TestRegression_SessionCRUD: session create/switch/close
- TestRegression_SessionHistory: history retrieval
- TestRegression_FeishuCardRender: card rendering and text fallback
- TestRegression_CardButtons: button collection
- TestRegression_CronParse: cron job parsing
- TestRegression_CronJobLifecycle: add/enable/disable/remove
- TestRegression_ConfigReload: hot config reload
- TestRegression_AtomicWrite: atomic file write
- TestRegression_Deduplication: message deduplication
- TestRegression_DeduplicationTTL: deduplication time window
Total: 26 regression tests (build tag: regression)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 10:38:19 +08:00
Claude
0c84f83130
feat(tests): add P0 smoke tests
...
Add smoke tests for core functionality:
- TestSmoke_ConfigLoading: config file loading and parsing
- TestSmoke_ConfigLoadingInvalid: invalid config rejection
- TestSmoke_AllAgentsInit: agent factory registration
- TestSmoke_AllPlatformsInit: platform factory registration
- TestSmoke_SessionManagement: session create/switch/close
- TestSmoke_SessionMessageFlow: session message flow with events
- TestSmoke_CommandParsing: command registry and resolution
- TestSmoke_CommandRegistryList: command listing and clearing
- TestSmoke_MessageFlow: platform-agent message bridging
- TestSmoke_PlatformReply: platform reply functionality
- TestSmoke_EventTypes: all event types creation
- TestSmoke_WorkspaceSwitch: workspace isolation
- TestSmoke_RateLimiter: rate limiting functionality
Fix buffer size bug in fake session Events() channel.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 10:31:33 +08:00