Skip to content

Tests to the pipeline#11

Merged
rich-howell merged 4 commits intomainfrom
tests-pipeline
Oct 31, 2025
Merged

Tests to the pipeline#11
rich-howell merged 4 commits intomainfrom
tests-pipeline

Conversation

@rich-howell
Copy link
Copy Markdown
Owner

🚀 Pull Request

Summary

Adding tests to the pipeline to ensure that breaking changes don't affect future releases.

Related Issues

N/A

Changes

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / code cleanup
  • Internal tooling

Description

Added initial unit test suite for configuration handling, HL7 validation logic, and UI-bound port validation to ensure robust behavior under edge cases.

The following tests have been added;

  • AppConfigTests
    • SaveConfig ShouldWriteFile
  • HL7ValidatorTests
    • Validate ShouldFail OnEmptyMessage
    • Validate ShouldPass OnValid ADT A01 Message
    • Validate ShouldFail When PID Missing
    • Validate ShouldFail When Required Field Missing
    • Validate ShouldFail When Schema Not Found
    • Validate ShouldPass When Optional Segment Missing
    • Validate ShouldUse Default Version When Missing
  • PortValidationTests
    • Port ShouldBeWithinValidRange

Testing

  • I have tested this locally
  • I have added tests (if applicable)
  • I have updated documentation (if applicable)

Adding tests to the pipeline to ensure that breaking changes don't affect future releases.
@rich-howell rich-howell self-assigned this Oct 31, 2025
Updating the configuration to ensure the build and test steps use the same configuration
@rich-howell rich-howell merged commit 805d209 into main Oct 31, 2025
2 checks passed
@rich-howell rich-howell deleted the tests-pipeline branch October 31, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant