bcgov / gwells

Groundwater Wells and Aquifers application for the Ministry of Environment

Home Page:https://apps.nrs.gov.bc.ca/gwells/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Tests - Part 3.5

LocalNewsTV opened this issue · comments

Describe the task
Update the current Postman tests and expand them where its needed

Purpose
Majority of the existing Postman tests just ping an endpoint and check for a status200. These tests don't validate any of the response data as being properly formatted or having expected values

Acceptance Criteria

  • Existing Postman tests updated where needed

Additional context

  • Postman exists outside of the API, and so and there is no code coverage printout versus running tools like Jest and Django-test, which are integrated into the codebases themselves.

Example of the existing test:
Image