CodingNic

Final Integration & Testing

Test Units and Persistence

Final Integration & Testing 10 min read

Test Units and Persistence

Task

Verify the unit preference affects every relevant display.

File / section

Browser

Change

Search a city, switch C/F, inspect current temperature, feels-like temperature, wind, and forecast, refresh, and confirm the selected unit remains.

Why this change matters

A unit change touches API requests, multiple components, and localStorage, so test it as one workflow.

Test it

All values use the selected system and the choice survives refresh.

Checkpoint

Units and persistence pass the integration test.