arduino-test-runner

Utility for displaying the output of Arduino sketches that use the Arduino TestRunner utility.

Usage no npm install needed!

<script type="module">
  import arduinoTestRunner from 'https://cdn.skypack.dev/arduino-test-runner';
</script>

README

Arduino Test Runner

A utility for running hardware tests on Arduino inspired by Mocha. Tests are implemented on the Arduino using the TestRunner library. Tests are run and the results are aggregated by running this utility.

Prerequisites

Write your Arduino tests using the TestRunner library.

Installation

Use npm to install Arduino TestRunenr globally.

npm install arduino-test-runner -g

Usage

$ arduino-test-runner --help
Usage:
  arduino-test-runner [OPTIONS] [ARGS]

Options:
  -s, --serial [PATH]    Serial Port (Default is /dev/ttyUSB0)
  -m, --mode NUMBER      Test Mode
  -h, --help             Display help and usage details