Skip to content

Commit 006ff02

Browse files
committed
docs: Mention how to run tests on device
1 parent 85bd94a commit 006ff02

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/developing.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ Install it on device
9191
mpremote cp dist/armv6m*/emlearn_trees.mpy :emlearn_trees.mpy
9292
```
9393

94+
#### Running tests on device
95+
96+
NOTE: Assumes that the .mpy files have been built first (in dist/).
97+
98+
We use `mpremote mount`, which allows the device to access files on the PC/host filesystem. This means we do not have to copy the modules or files across.
99+
100+
```
101+
mpremote mount . run tests/test_all.py
102+
```
94103

95104
## Building documentation
96105

0 commit comments

Comments
 (0)