Skip to content

test: add mock-based e2e tests#9

Merged
qj0r9j0vc2 merged 6 commits intomainfrom
qj0r9j0vc2/e2e-mock-tests
Jan 21, 2026
Merged

test: add mock-based e2e tests#9
qj0r9j0vc2 merged 6 commits intomainfrom
qj0r9j0vc2/e2e-mock-tests

Conversation

@qj0r9j0vc2
Copy link
Copy Markdown
Member

Summary

  • Move existing Docker-based e2e tests to test/e2e-docker/
  • Add fast mock-based e2e tests in test/e2e/ (~1 second vs ~5 minutes)
  • Implement MockNotifier for in-process testing
  • Add test harness for complete server setup

Test Scenarios

  • Alert creation (Slack & PagerDuty)
  • Alert deduplication
  • Alert resolution
  • Batch processing
  • Severity level handling
  • Notifier failure resilience
  • Health endpoint

Commands

make test-e2e        # Fast mock-based tests
make test-e2e-docker # Docker-based tests
make test-unit       # Unit tests only

@qj0r9j0vc2 qj0r9j0vc2 self-assigned this Jan 21, 2026
@qj0r9j0vc2 qj0r9j0vc2 merged commit d18a5ee into main Jan 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant