Skip to content

Action to run all published rules' tests #798

@SFJohnson24

Description

@SFJohnson24

This will involve creating a script to:

  • get all published rules
  • read through the sharepoint directory of test data
  • compile the positive and negative test data resources for all published rules
    • 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 test data
  • parse the result data
    • 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

Assignees

No one assigned

    Labels

    releaseAnything pertaining to a release of the producttestingUnit, regression, performance, QA, test automation

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions