Skip to content

Add integration test for export retrospective endpoint#31

Merged
Mewbi merged 1 commit intomasterfrom
feat/export_retrospective_test
Jan 31, 2026
Merged

Add integration test for export retrospective endpoint#31
Mewbi merged 1 commit intomasterfrom
feat/export_retrospective_test

Conversation

@Mewbi
Copy link
Member

@Mewbi Mewbi commented Jan 31, 2026

This pull request adds comprehensive integration tests for the retrospective export feature, covering JSON, Markdown, and PDF formats, as well as error scenarios. It also introduces a new helper method to facilitate exporting retrospectives in tests.

Retrospective export integration tests:

  • Added TestExportRetrospective to integration_test/retrospective_test.go, which verifies successful exports in JSON, Markdown, and PDF formats, including content checks for each format.
  • Included tests for exporting empty retrospectives, handling non-existent retrospective IDs (404), and unknown export types (400).

Test utility improvements:

  • Introduced the ExportRetrospective helper method in integration_test/util_test.go to streamline export requests in integration tests.

@Mewbi Mewbi merged commit 9e6ac89 into master Jan 31, 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