
Systems
Testing Embedded Rust on the Host With Mocks and Simulators
Keep logic in a no_std library, put hardware behind embedded-hal traits, and run the library tests on your computer. Use fakes for pins and buses, and reserve on-device tests for what only hardware can show.
4 min read
