Azure / apiforfhir-migration-tool

OSS migration tool for migrating data from Azure API for FHIR to Azure Health Data Services
MIT License
2 stars 6 forks source link

v1.2 E2E Testing Framework #9

Closed mikaelweave closed 7 months ago

mikaelweave commented 1 year ago

Description

This PR adds an E2E testing framework that can be used to run E2E tests. The PR also contains a local FHIR testing environment to help with easy test authoring. This framework can either:

This gives us great flexibility as you can write tests locally with a "short inner loop" but still gives us the ability to test in Azure later by only setting a single environment variable.

This required some changes to the configuration logic and bootstrapping in Program.cs (as test authoring often encourages better application architecture).

Testing

Tested via the E2E testing in VS and VS Code.

erikhoward commented 7 months ago

Closing old PR.