[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Executing SWTBot tests from tycho : unrecognized shell
|
Thanks again for your quick answer!
For now I put an ugly workaround in place (a profile activated if
java.vendor is mac and specified by myself the argLine for the
tycho-surefire-plugin with absolute path to the jacoco agent and
specific VM args for macOS : no portable at all!)
The sonar analysis works, but I think I also mixed up something as the UI test are counted as code coverage and not IT coverage.( I opened a question to sonar user list :
http://markmail.org/search/?q=list%3Aorg.codehaus.sonar.user#query:list%3Aorg.codehaus.sonar.user+page:1+mid:dvbtpsvywn5zighx+state:results)
You can find a sample there :
Sonar :
http://ec2-79-125-43-108.eu-west-1.compute.amazonaws.com:8080/sonar/drilldown/measures/org.demo.camp.nantes:parent?metric=coverage
Source code :
https://github.com/xseignard/tycho-demo-camp
Thanks again for your support,
Kind regards,
2011/9/6 Igor Fedorenko
<igor@xxxxxxxxxxxxxx>
not directly, but you should be able to use pom properties and profiles
to get desired argLine.
--
Regards,
Igor
On 11-09-06 12:06 PM, Xavier S. wrote:
Thanks you Igor, it solved my problem.
But now, I'm facing another one :)
As the build run on a MacOS machine, I need to add
<argLine>-XstartOnFirstThread<
/argLine> to the tycho-surefire-plugin
configuration (MacOS known limitation).
But that configuration overwrites the argLine generated by the maven
jacoco plugin (
http://www.eclemma.org/jacoco/trunk/doc/maven.html) I use
to analyse code coverage with Sonar
(
http://docs.codehaus.org/display/SONAR/JaCoCo+Plugin)!
Is there any way to append options to the argLine rather than
overwritting them?
Thanks again,
Kind regards,
Xavier
2011/9/6 Igor Fedorenko <igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>>
You need to use <useUIHarness>true</__
useUIHarness> and
<useUIThread>false</__
useUIThread> tycho-surefire-plugin configuration
parameters to use SWTBot.
--
Regards,
Igor
On 11-09-06 6:58 AM, Xavier S. wrote:
Hello,
I'm trying to execute my SWTBot test from tycho, but I'm facing
an error
: the test should recognize a popup, but it doesn't work...
Since the SWTBot test runs fine within eclipse, I suspect a tycho
configuration problem.
And resolving it is already above my competencies :)
Maybe someone could help me?
You can find the projects sources on github :
https://github.com/xseignard/__tycho-demo-camp
<
https://github.com/xseignard/tycho-demo-camp>
Thanks in advance for your further help.
Regards,
Xavier
______________________________
___________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>