Davletvm / soashable

Automatically exported from code.google.com/p/soashable
0 stars 0 forks source link

Investigage JSUnit headless for CI server #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My thinking sofar is that we can use the selenium:xvfb task and wire that
display into the JSUnit launcher. 

http://fisheye.codehaus.org/browse/mojo/tags/selenium-maven-plugin-1.0-beta-3/sr
c/main/groovy/org/codehaus/mojo/selenium/XvfbMojo.groovy?r=6930#l109

It detects a usable display and writes to target/selenium/display.properties

Have not investigated JSUnit as a consumer yet.

Have not investigated using a profile activated by non-windows, non-osx yet.

Original issue reported on code.google.com by h.iver...@gmail.com on 19 May 2008 at 3:16

GoogleCodeExporter commented 9 years ago
Dug deep into the source code and determined that JSUnit 2.2 is required for 
this to
work. It would be done by way of a custom ProcessStarter that specifies 
DISPLAY. It
could be done with JSUnit 2.1, but there appear to be no plans of ever 
releasing a
new version and we can't distribute code against a patched product.

I've opened an issue with the javascript-maven-tools plugin for the task. I 
might end
up doing it.

http://jira.codehaus.org/browse/MOJO-1126

Original comment by h.iver...@gmail.com on 19 May 2008 at 5:13