IMLS / estimating-wifi

Estimating Wifi is a pilot project to automate the censusing of proximal wifi devices via low-cost and open source tools.
https://10x.gsa.gov/projects/shared-components-for-museums-and-libraries/
Other
10 stars 2 forks source link

Update API tests #285

Closed anagradova closed 1 year ago

anagradova commented 1 year ago

Description

Updates need to be made to the testing scripts for the API endpoints that were recently added and an end-to-end test of the api for the presence table needs to be performed.

Anonymous API endpoints

Authenticated API endpoints

jadudm commented 1 year ago

I'm going to close this ticket. Work has been done in the past 1.5w to significantly increase coverage of the API via Python-based unit tests.

However:

  1. No new endpoints should be created without unit tests. Those should be failure tests, success tests, etc. making sure that the API responds appropriately in multiple ways. That should be acceptance criteria on every feature, not something that requires it's own ticket.
  2. We need a ticket for end-to-end testing, because that is very different than API unit-tests.