canonn-science/CAPIv2-Strapi

Build and Integrate Postman API tests for Report models on TravisCI

derrickmehaffy opened this issue · 2 comments

Our goal here is to build postman tests for all models to allow build testing of every endpoint to verify functionality

The flow should go something like this:

  1. POST a new item (multiple?)
  2. GET the item by ID
  3. PUT an update to the entry
  4. DELETE an entry
  5. GET all entries

Checking should be done to verify the schema as well as response time and response code.

Relational checks should also be included but for now just the core model checking should be the focus.

Report Models added to testing

Changed to only Reports, new issues will be opened for other models