mocha-l8-reporter

    1.0.0 • Public • Published

    mocha l8 smartlight reporter

    Reporter unsing the L8 Smartlight as an extreme feedback device for mocha tests.

    Prerequisites

    • L8 is accessible, e.g. cat /dev/ttyACM0
    • On linux plugin the L8 and see the dmesg output to find the device name
    • if you got permission denied add user to the dialout group (ubuntu)
      • sudo usermod -a -G dialout $USER

    Usage

    • Install mocha-l8-reporter as a dev depenency with npm install --save --dev mocha-l8-reporter or install globally with npm install -g mocha-l8-reporter
    • enable reporter with -R mocha-l8-reporter
    • if your l8 is not accessible via /dev/ttyACM0 use
      • mocha [...] -O l8port=/dev/yourDevice```
      • or L8_PORT=/dev/yourDevice mocha [...]```

    Install

    npm i mocha-l8-reporter

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • fehmer