slashdev / arm-loconet-starter

Starter project for Loconet projects. Based on arm-samd20-starter.
0 stars 0 forks source link

Add unit-tests and framework #20

Closed jmvdwerf closed 7 years ago

jmvdwerf commented 7 years ago

Set up a framework to be able to do unit tests on the code. Especially when developing our own applications on top of the loconet framework, it would be great if we could add unit tests. E.g. to test whether the system responds correctly on receiving a message, or responds well on the fast clock...

My suggestion would be to use unity: http://www.throwtheswitch.org/unity/

fuegas commented 7 years ago

We tried, alas, it didn't work due to differences in architectures on which the code and tests have to be built.