Skip to content

Conversation

@d--j
Copy link
Owner

@d--j d--j commented Apr 5, 2025

This pull request includes several changes to the integration tests and workflows to improve functionality and documentation. The most important changes include adding a new TestServer function, updating the integration test documentation, and modifying the workflow to install dependencies and update test configurations.

Integration Test Enhancements:

  • integration/filter.go: Introduced a new TestServer function to facilitate testing of milter.Milter implementations.
  • integration/README.md: Expanded the documentation to include detailed instructions on how the integration test runner works, how to write test cases, and how to handle dynamic data. Added a mermaid diagram to visualize the test runner workflow. [1] [2] [3] [4] [5] [6] [7]

Workflow Improvements:

  • .github/workflows/go.yml: Added a new step to install dependencies using go mod download and updated the go test command to use -covermode atomic. Also, specified files to ignore when sending coverage reports to Coveralls.

Configuration Updates:

Minor Changes:

@coveralls
Copy link
Collaborator

coveralls commented Apr 5, 2025

Coverage Status

coverage: 92.081% (+6.9%) from 85.224%
when pulling a5718ad on integration-multi
into 2b4a6c6 on main.

@d--j d--j marked this pull request as ready for review April 5, 2025 00:37
@d--j d--j requested a review from Copilot April 5, 2025 00:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 12 out of 21 changed files in this pull request and generated 1 comment.

Files not reviewed (9)
  • integration/go.mod: Language not supported
  • integration/tests/mail-from/custom.testcase: Language not supported
  • integration/tests/milter/accept.testcase: Language not supported
  • integration/tests/milter/multi.testcase: Language not supported
  • integration/tests/milter/reject-one.testcase: Language not supported
  • integration/tests/milter/reject.testcase: Language not supported
  • integration/tests/rcpt-to/custom.testcase: Language not supported
  • integration/tests/rcpt-to/multi.testcase: Language not supported
  • integration/tests/rcpt-to/reject-one-2.testcase: Language not supported

typos

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@d--j d--j merged commit b1f6a4e into main Apr 5, 2025
4 checks passed
@d--j d--j deleted the integration-multi branch April 5, 2025 00:46
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.

3 participants