Tuesday, April 23, 2013

Arguments needed to VM and program for running SWTBot tests with tycho surefire

When you use SWTBot widget finder to get widget with label or title, language comes into the game!
If the application is run with another language in another environment it's bound to fail.

You might think about externalizing/internationalizing your test cases. Is it worth it? ....

Unless you go for i18n you can specify the language as a program argument in surefire configuration

<appArgLine>-ln en</appArgLine> <!--for english-->

As you resolve target platform through tycho you might get out of memory from jvm in projects with enough library dependency.
Specify memory heap in surefire configuration.
<argLine>JVM heap size</argLine>

Specify the arch bootloader constant. why?



No comments:

Post a Comment