Skip to content

Commit a1ae895

Browse files
committed
Add readme for tests
1 parent 52d86e9 commit a1ae895

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/readme.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Testing the examples
2+
3+
This folder is for testing the example sketches against expected output and thus provide an integration test for each example sketch.
4+
5+
## Setup
6+
7+
Install the python packages needed: `pip install -r requirements.txt`
8+
9+
## Running
10+
11+
* Run all tests: `pytest . --port <device_port> -s`
12+
* Run a test for a specific example sketch: `pytest . --port <device_port> -s test_<sketch_name_without_dot_ino>`. For example for `debug_modem`: `pytest . --port COM7 -s test_debug_modem`
13+

0 commit comments

Comments
 (0)