March 1, 2023
Attached Files:
In in this lab, we will utilize advanced features of the Python unittest framework (mocks) to develop automated integration tests. You will work on developing integration tests for a weather client and a simple Square class, which uses the Math utility class from Week 2. The WeatherClient class performs RESTful API calls to the open weather platform to obtain current and forecast weather conditions for a given zip code.
In your unit/integration tests, you need to use mocks and patching features of the Python unittest framework to create necessary fake dependencies and stubs. Unit/integration tests MUST provide 100% code coverage of the WeatherClient and Square classes.
Readings:
Steps:
Deliverables:
HomeworkChoice is a dedicated paper writing service for students the world over. Our team crafts exceptional college application essays or other types of academic papers. The main goal is to help students eliminate stress and work with them to create brilliant, thought compelling – and most importantly, top mark academic papers.
support@homeworkchoice.com
+1 520 556 7735
© 2023 HomeworkChoice. All Rights Reserved.