Personal-Data-Acquisition / PersonalDataAcquisitionPrototype

Personal Data Acquisition Prototype: A project to make a lite weight and rugged data logging system.
MIT License
0 stars 0 forks source link

Create Mocks for testing(unit & integration) on dev machines #24

Open BlakeBabb opened 8 months ago

jake-g00dwin commented 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.