ClintStaley / PhysicsCompetition

0 stars 0 forks source link

Update Postman Tests #1

Closed ClintStaley closed 3 years ago

ClintStaley commented 3 years ago

Improve the Postman tests thus:

  1. Use checkAndPost to record id’s e.g. of each cmp, cmpType, etc. and use these instead of hardwired IDs. NO hardwired IDs in any URLS! This makes the tests more flexible.
  2. No more use of global tests array – use pm.test instead, correctly.
  3. Make tests thorough, for instance ensuring more than just 200 status in some cases. (Check with Clint for which should be more thorough if in doubt.
  4. Fix Folders 3 - 10, dividing evenly e.g. even numbers to Clark, odds to Dillon.
DillonHussey commented 3 years ago

3 has been fixed

clarkdavidson commented 3 years ago

All folders have been updated