-
Notifications
You must be signed in to change notification settings - Fork 0
weather statistics test plan
Khunakorn Pattayakorn edited this page Apr 21, 2025
·
8 revisions
The objective of this test plan, is to verify that the historical weather API endpoints provide correct data with error handling as well as verify that related frontend components display correct data.
-
/weather: Return the latest weather data for the given location. If a datetime is specified returns the closest weather data for the given location. -
/weather/last: Return the weather data from the previous x days. -
/weather/aggregate: Return the average weather conditions from the previous x days. -
/{weather condition}/max: Return the max recorded weather condition from the previous x days. -
/{weather condition}/min: Return the min recorded weather condition from the previous x days.
- Line charts and bar charts for weather statistics
- Frontend API calls
- APIs: Returned data's structure + validity, and API error handling
- Frontend API calls: Ability to call backend components and get data.
- Frontend visualizations: Correctness of displayed charts.
- Unit testing
- Integration testing
- System testing
- Unit tests
- End to end tests
- The Test cases and documentation have been created.
- A working version of the software is available.
- The database has sufficient data for testing
- The testing is concluded and there are no functional bugs
- All major bugs reported by the test cases are documented in the test report and fixed in a bugfix branch