Skip to content

fehmer/mocha-l8-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [...]

About

Mocha reporter using a L8 smartlight

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published