feat(testing): update test apps with generic polling and add CI/CD pipeline

- Update iOS and Android test apps with generic polling interface support
- Add testGenericPolling(), testPollingSchedule(), and testPollingResults() methods
- Include comprehensive testing of GenericPollingRequest creation and validation
- Add PollingScheduleConfig testing with cron expressions and platform adapters
- Test PollingResult handling with watermark CAS and acknowledgment flows
- Update test-apps/README.md with generic polling testing capabilities
- Add .github/workflows/ci.yml with automated testing pipeline
- Include linting, unit tests (workspaces), and k6 smoke test execution
- Add k6/poll-ack-smoke.js for fault-injection testing of poll and ack endpoints
- Support cross-platform testing with consistent TypeScript interfaces
- Include platform-specific optimizations (WorkManager, BGTaskScheduler, Service Workers)

Provides comprehensive testing infrastructure for the generic polling system.
This commit is contained in:
Matthew Raymer
2025-10-07 04:44:27 +00:00
parent 8ee97e5401
commit c548db1cfd
6 changed files with 593 additions and 1 deletions

View File

@@ -345,7 +345,7 @@ export class TestLogger {
private logLevel: string;
private logs: string[] = [];
constructor(logLevel: string = 'debug') {
constructor(logLevel = 'debug') {
this.logLevel = logLevel;
}