google / fhir-data-pipes

A collection of tools for extracting FHIR resources and analytics services on top of that data.
https://google.github.io/fhir-data-pipes/
Apache License 2.0
151 stars 84 forks source link

Added SQL-on-FHIR v2 repo tests #988

Closed bashir2 closed 6 months ago

bashir2 commented 6 months ago

Description of what I changed

Fixes #954, barring some issues that need to be fixed/discussed in upstream repos (marked as TODOs). As a side effect we get a nice increase on the test coverage of the view package.

E2E test

TESTED:

This is all about tests!

Checklist: I completed these to help reviewers :)

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 68.42105% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 50.32%. Comparing base (65cc128) to head (e750142).

Files Patch % Lines
...com/google/fhir/analytics/view/ViewApplicator.java 73.33% 2 Missing and 2 partials :warning:
...com/google/fhir/analytics/view/ViewDefinition.java 50.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #988 +/- ## ============================================ + Coverage 49.56% 50.32% +0.75% - Complexity 631 644 +13 ============================================ Files 87 87 Lines 5201 5210 +9 Branches 664 666 +2 ============================================ + Hits 2578 2622 +44 + Misses 2362 2339 -23 + Partials 261 249 -12 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.