Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Add snapshot testing #36

Open
dionmcm opened this issue May 25, 2018 · 0 comments
Open

Add snapshot testing #36

dionmcm opened this issue May 25, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@dionmcm
Copy link
Collaborator

dionmcm commented May 25, 2018

Testing the AMT transformation to FHIR is hard, one cheap way to do this is snapshot testing, where the resources can be generated against a known data set and stored. They can then be regenerated and compared at build time to determine if changes have occurred.

Jest provides a good way to do this, something similar in concept is needed https://facebook.github.io/jest/docs/en/snapshot-testing.html

Note this isn't comprehensive testing, but a cheap step forward once the transform attains decent stability (i.e. the target stops moving so much!)

@dionmcm dionmcm added the enhancement New feature or request label May 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant