Closed TheSomeMan closed 6 months ago
How much effort it would be to add unit tests for empty / invalid firmware update info?
I think it'll take a couple of hours
Thanks, getting the test coverage to 80 % isn't strictly necessary if the tests already cover most edge cases
I added some more tests to check how updating is working for beta testers.
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
82.8% Coverage on New Code
0.0% Duplication on New Code
@markoaamunkajo to test it you can use script ruuvi.gwui.html/scripts/http_server_auth.py, run it on your computer, then in UI on "Software Update" page enter URL in the "Server for automatic firmware updates":
How much effort it would be to add unit tests for empty / invalid firmware update info?