Hello there,
Our hospital just had our first experience receiving a test pack of test lists from another hospital as a reference in implementing Pylinac analysis in our QATrack workflow. This got me thinking on the importance of managing/maintaining the versioning/up-to-date aspect for the scripts (composite/string composite tests) embedded into our QATrack environment.
However, going through each composite/string composite test and then copy-pasting the script portion into a new python script text file would seem like tedious chore to do (given that there are about a thousand tests with a scripting component - albeit often only 2-3 lines of code). So, obviously, the exported test pack that we received peaked out interest quite a bit.
My question would be on if there was a way to explore the contents of the exported test pack (.tpk file) in order to quickly extract the scripting portion of the composite/string composite tests that we would export (filtered). The idea would be to have them (hopefully organized in by test list) saved as python scripts and then to be versioned with Git afterwards. Once versioned, any changes made to the QATrack side can be re-exported and then tested against the Git version to ensure that there have been no other changes (name, variables, script) across all the files.
Has anyone else had any experience with working with the .tpk files outside of QATrack (possibly in a Windows environment)?
And/or have I missed any documentation that clearing dictates how to do this (if so, whoops...)?
Thanks in advance!
Cheers,
Peter