This library provides a JUnit5 TestExecutionListener for Philips hue lights to indicate JUnit test run results by turning light bulbs green or red.
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 :
- hue4junit.properties in project folder
- resource file hue4junit.properties
- System Properties
these settings will be retrieved the same way as hue.username
.
hue.ip
, unless set we try to get this value via meethuehue.timeout
, timeout for calls to hue bridge, default5000
hue.listener.lamps
, ids of lamps to be used, default is[1, 2, 3]
see here howto add hue4junit to your project