File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
#Testing Firmata
2
2
3
- TO DO: overview of firmata testing process.
3
+ The Firmata test suite includes unit tests (see the unit directory). Integration
4
+ tests may also be added at some point in the future.
5
+
6
+ If you make changes to Firmata.cpp, run the tests in /test/unit/ to ensure
7
+ that your changes have not produced any unexpected errors.
Original file line number Diff line number Diff line change 1
1
#Firmata Unit Tests
2
2
3
- TO DO: instructions on running unit tests and creating new tests for new
4
- features.
3
+ Unit tests are written using the [ ArduinoUnit] ( https://github.com/mmurdoch/arduinounit ) library (version 2.0).
4
+
5
+ Follow the instructions in the [ ArduinoUnit readme] ( https://github.com/mmurdoch/arduinounit/blob/master/readme.md ) to install the library.
6
+
7
+ Compile and upload the test sketch as you would any other sketch. Then open the
8
+ Serial Monitor to view the test results.
You can’t perform that action at this time.
0 commit comments