This PR adds a unit test project for the WeatherApp application and includes tests for the WeatherService class. The test project is named "WeatherAppWebApi.Tests" and is configured to use .NET 7.0. The tests cover the main functionalities of the WeatherService class.
Summary of Changes
Added a new .NET 7.0 test project file named "WeatherAppWebApi.Tests" in the WeatherApp/Backend/WeatherApp directory.
Added a reference to the "WeatherAppWebApi" project in the test project.
Created a new test class named "WeatherServiceTests" in the WeatherAppWebApi.Tests/Services directory.
Implemented unit tests for the WeatherService class in the WeatherServiceTests class.
Please review and merge this PR to include unit tests for the WeatherService class in the WeatherApp application.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/add-unit-tests_1
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR adds a unit test project for the WeatherApp application and includes tests for the WeatherService class. The test project is named "WeatherAppWebApi.Tests" and is configured to use .NET 7.0. The tests cover the main functionalities of the WeatherService class.
Summary of Changes
Please review and merge this PR to include unit tests for the WeatherService class in the WeatherApp application.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.