Running a single groovy test via maven [message #1698164] |
Thu, 11 June 2015 19:12 |
Dominic Lerbs Messages: 15 Registered: June 2015 |
Junior Member |
|
|
Hi,
how can I run a single groovy test for ESM in maven?
Using works for all tests but it takes a long time. I am looking for the fastest way to run a single test (or all tests of a single binding).
I tried mvn -Dtest=HueLightHandlerOSGiTest integration-test from the root directory, but then I get this error:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.20.0:test (default-test) on project org.eclipse.smarthome.config.core.test: No tests found. -> [Help 1]
Running from the binding directory will give this error:
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.smarthome.binding.hue.test 0.8.0.qualifier
[ERROR] Missing requirement: org.eclipse.smarthome.binding.hue.test 0.8.0.qualifier requires 'bundle org.eclipse.smarthome.binding.hue 0.0.0' but it could not be found
What is the proper way?
Thanks, Dominic
[Updated on: Thu, 11 June 2015 19:13] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02636 seconds