Skip to content

Add Integration Test for Validator Modes - #3968

Open
knoppiks wants to merge 1 commit into
mainfrom
3847-add-synthea-integration-test-for-external-validator-failure-modes
Open

Add Integration Test for Validator Modes#3968
knoppiks wants to merge 1 commit into
mainfrom
3847-add-synthea-integration-test-for-external-validator-failure-modes

Conversation

@knoppiks

Copy link
Copy Markdown
Collaborator

No description provided.

@knoppiks knoppiks linked an issue Jul 28, 2026 that may be closed by this pull request
@knoppiks
knoppiks force-pushed the 3847-add-synthea-integration-test-for-external-validator-failure-modes branch from 8b24dca to 21cb72c Compare July 29, 2026 10:19
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.44%. Comparing base (a7ed9e3) to head (d9c6544).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3968      +/-   ##
==========================================
- Coverage   96.45%   96.44%   -0.01%     
==========================================
  Files         437      437              
  Lines       27425    27425              
  Branches      627      630       +3     
==========================================
- Hits        26453    26451       -2     
- Misses        469      470       +1     
- Partials      503      504       +1     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@knoppiks knoppiks self-assigned this Jul 29, 2026
@knoppiks
knoppiks force-pushed the 3847-add-synthea-integration-test-for-external-validator-failure-modes branch from 21cb72c to c327d55 Compare July 29, 2026 15:02
@knoppiks

Copy link
Copy Markdown
Collaborator Author

#3998 found while implementing. Rebase after #4000 lands

@knoppiks
knoppiks force-pushed the 3847-add-synthea-integration-test-for-external-validator-failure-modes branch 2 times, most recently from 349fd88 to 36d3806 Compare July 31, 2026 20:53
@knoppiks
knoppiks marked this pull request as ready for review July 31, 2026 20:57
@knoppiks
knoppiks requested a review from alexanderkiel as a code owner July 31, 2026 20:58
@knoppiks
knoppiks force-pushed the 3847-add-synthea-integration-test-for-external-validator-failure-modes branch from 36d3806 to 5f57613 Compare August 1, 2026 20:58

@alexanderkiel alexanderkiel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please load USCore into the terminology server and active SNOMED CT.

@@ -53,6 +53,17 @@ services:
- "8084:8080"
volumes:
- ./fhir-settings.json:/app/fhir-settings.json:ro

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not needed anymore, because the mii-fhir-validator generated the fhir-settings.json at startup. Please remove this volume mount and the file.

# --- no invalid resource was persisted --------------------------------------

test "number of persisted invalid Patients" \
"$(curl -s -H 'Accept: application/fhir+json' "$base/Patient?_tag=${tag_system}|invalid&_summary=count" | jq -r '.total')" "0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please use search_strict here


# Creates a subset of the Synthea test data in the `synthea-subset` directory.
# Validating every resource of the full Synthea data set against the external
# validator would be too slow, so only three of the 121 patient bundles are

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this are not three patient bundles, instead you have two master data bundles and one patient bundle

Closes: #3847

Signed-off-by: Jonas Wagner <jwagner@knoppiks.de>
@knoppiks
knoppiks force-pushed the 3847-add-synthea-integration-test-for-external-validator-failure-modes branch from 5f57613 to d9c6544 Compare August 4, 2026 12:39
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.

Add Synthea Integration Test for External Validator Failure Modes

2 participants