FreakyF / Weather-track

A simple real-time weather tracking app with graphical user interface written in java.
MIT License
0 stars 0 forks source link

Implement Integration Tests for `ForecastApiService` #49

Open Tymisko opened 1 year ago

Tymisko commented 1 year ago

Description:

We need to implement integration tests for the ForecastApiService to ensure that the response data from the external API does not change for our requests.

User Story:

As a developer, I want to implement integration tests for ForecastApiService to verify that the response data from the external API remains consistent for our requests.

Acceptance Criteria:

  1. Implement integration tests for all methods in ForecastApiService.
  2. The tests should verify that the response data format from the external API does not change.
  3. The tests should handle different scenarios like valid/invalid inputs and ensure the response data is as expected.
  4. If the response data format changes, the tests should fail, and a meaningful error message should be provided.
  5. Document the integration tests.

Mockups or Diagrams (if applicable):

N/A

Additional Notes:

Please make sure to handle various edge cases and document the integration tests properly.