Skip to content

mklose/hue4junit

Repository files navigation

ci-badge Maven Central

This library provides a JUnit5 TestExecutionListener for Philips hue lights to indicate JUnit test run results by turning light bulbs green or red.

how to

setup hue

open setup_hue.html and use returned value of username as hue.username (you will need to press the button on your hue bridge).

hue.username will be retrieved in this order from :

  1. hue4junit.properties in project folder
  2. resource file hue4junit.properties
  3. System Properties

optional settings are:

these settings will be retrieved the same way as hue.username.

  • hue.ip , unless set we try to get this value via meethue
  • hue.timeout , timeout for calls to hue bridge, default 5000
  • hue.listener.lamps , ids of lamps to be used, default is [1, 2, 3]

add to your project

see here howto add hue4junit to your project

About

hue4junit is a library to provide junit test execution feedback via philips hue lights

Resources

License

Stars

Watchers

Forks

Packages

No packages published