fhir-crucible / testscript-engine

Ruby FHIR TestScript execution engine
Apache License 2.0
5 stars 2 forks source link

Using with Testscript Generator #82

Open garyisaac opened 1 year ago

garyisaac commented 1 year ago

It looks like the testscript-engine wants the testscript files in the TestScripts folder with a fixtures sub-folder. The Testscript generator project creates scripts for an IG according to category level requirements and then has subfolders with scripts or a subfolder with the fixtures and scripts outside of this subfolder. In order to run the testscript engine on all test scripts generated for an IG, I would have to merge files to get them into the testscript-engine structure of one fixtures subfolder and files in the main folder. Is there a way to have the testscript-engine run tests against the generated test scripts for IG in the structure created by the Testscript Generator project without manually merging files? I can probably go into the source code and ask the testscript-engine to process by subfolder but I was wondering if there is a way to configure it without changing the source. Thanks!

jhlee-mitre commented 1 year ago

You can configure things with arguments, if you need a very customized test configuration, run the engine on interactive mode below. You can specify specific file/folder to run test against in order.

bundle exec bin/testscript_engine interactive