-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way of unittesting #70
Comments
The simple way to do it is to have one "binary" crate and one "firmware" crate. In the firmware crate you can have testing and everything as normal as this crate does not have to be compiled with the thumb targets. |
I actually started working on this at one point. https://github.com/rust-embedded/cortex-m-quickstart/blob/master/examples/test_on_host.rs |
This is a good way, but if you do want to use the |
Would it be possible for someone with experience in such, to add some examples of adding unit testing and possibly integration testing to a project like this?
Maybe even using https://github.com/japaric/utest to allow qemu emulations?
I myself is struggling a lot to work it out, but i don't think it is very simple.. Or at least not very well documented.
The text was updated successfully, but these errors were encountered: