Open BlakeBabb opened 8 months ago
Here is some useful resources for the use of mocking and testing:
Crates
Docs
Rocket log has a lot of good articles on TDD but mostly Rust development in general.
It's not perfect but you could use the current setup of the sensor_lib_aht20 and it's TDD/github actions setup as an example.
It's setup so every-time a PR is made the tests are ran to check if they pass.
Here is some useful resources for the use of mocking and testing:
Crates
Docs
Rocket log has a lot of good articles on TDD but mostly Rust development in general.
It's not perfect but you could use the current setup of the sensor_lib_aht20 and it's TDD/github actions setup as an example.
It's setup so every-time a PR is made the tests are ran to check if they pass.