ECMWFCode4Earth / vAirify

code repository for 2024 Code for Earth project #16
MIT License
1 stars 0 forks source link

Create Automation for Tested Tickets #33

Closed mnyamunda-scottlogic closed 1 month ago

mnyamunda-scottlogic commented 1 month ago

https://scottlogic-my.sharepoint.com/:x:/p/mnyamunda/EUT-_pJZdk1NotirIX2HkAQBwdQOVb6RbSV9mU8wqcy-SA?e=htLZ5x

Prime Task is to fetch mongoDB documents into a form that can be asserted against.

Issue from old board have been linked in the spreadsheet above.

Automation candidates from previously manually tested tickets.

Using PyTest script to get database documents that we can then assert on for regression.

mnyamunda-scottlogic commented 1 month ago

Verify AQI overall index ✅ Verify individual pollutant index ✅ Verify that the correct amount of documents are upserted and modifed on runs. (Carried onto new ticket) Verify that new forecast_base_time upserts new documents. (Carried onto a new ticket) Verify each document has the type field with "city" value ✅ Verify locations collection matches the CAMS_locations_V1 list ✅