Skip to content

Action to run all published rules' tests #798

Description

@SFJohnson24

This will involve creating a script to:

  • get all published rules (this is now changed since rules are associated in github)
  • read through the sharepoint directory of test data
    • This part may be difficult because the folder and file structure may be inconsistent. Might involve some reorganization of the folder structures to be consistent or the manual creation of a mapping file.
  • execute each rule with the related test data
  • parse the result data compare the result data with the result.json NOTE: we may need to run a script to ensure result.json in the cdisc-open-rules repo exists and is accurate
    • for positive test data, there should be at least 1 positive result and no negatiive results. skips can be ignored
    • for negative test data, there should be at least 1 negative result
  • summarize the test results

Depending on runtime, we could run this action on push or create a cron job to run periodically using git actions:
https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule

Metadata

Metadata

Labels

releaseAnything pertaining to a release of the productrule publishing strategytestingUnit, regression, performance, QA, test automation

Fields

Priority

None yet

T-shirt sizing

None yet

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions