csc302-spring-2021 / proj-DaTeam

CSC302 course project for DaTeam
https://dateam-frontend.herokuapp.com/
5 stars 2 forks source link

API tests #216

Closed DiademShoukralla closed 3 years ago

DiademShoukralla commented 3 years ago

Description

Ensure all API tests align with what is expected from openapi.yml.

Checklist

Relevant Notes

I created the tests to align with openapi.yml (testing for what the document says should happen). However, I skipped certain tests so that the test suite will pass. Skipped Tests:

@ QA: Should I leave these as skipped? Or remove them completely (then tests will not align with openapi.yml)? image

QA Steps

  1. cd backend
  2. install, build modules as needed
  3. npx jest __tests__/API.spec.ts
  4. Verify that no test fails, 24 skipped (the ones listed above) and 24 passes ✔️