UniversityOfSaskatchewanCMPT371 / term-project-2024-team-4

Apache License 2.0
2 stars 2 forks source link

CI Pipeline should contain artifacts with test results (frontend/backend tests, coverage, & playwright tests) #113

Open lecegues opened 8 months ago

lecegues commented 8 months ago

The CI Pipeline should output an artifact with test results that describe the passing and failing of tests. Test Result Categories:

Note

The test results are usually given as a combination of HTML, CSS, JS files that can be run as an interactive site for viewing tests & test results. Need to find a way to allow the user to "view" test results without having to go through much hassle

Frontend

Backend

Playwright

itsjorden commented 8 months ago

Just for clarification, when you say output an "artifact" you mean a representation for the test results correct? And not a "artifact" object (as defined by the database diagram)?

lecegues commented 8 months ago

Yes. "Artifact" in the pretense of a CI Pipeline refers to "outputs" from the pipeline itself.

lecegues commented 7 months ago

Due to time constraints and the effects of leaving merging to last-minute, there are not enough resources to implement the last step of this feature (deploy to GitHub Pages). After trying to implement this, here are my observations:

Goals & Status (refer to #114)

  1. Test Scripts are created successfully. They can separately run Coverage, Unit, and Integration Tests
  2. They are set up to run in the CI Pipeline and generate HTML Reports
  3. However, they cannot be deployed into GitHub actions

Observations of Point 3. (cannot be deployed into GitHub Actions)

HTML Reporters