Sorry for the somewhat confusing title :-) Basically, I configured Selenium tests to run through JUnit when I create a project through maven. If I started Selenium Server on the command line and then ran the maven build target at another cmd prompt, the tests will pass as expected.
I realized that this process would be easy to implement in Hudson, but it turned out to be quite problematic. I can start my selenium server as before and then configure the build to get started with hudson. However, hudson does not seem to be building a selenium server - an error message appears that says the following:
Unable to obtain goal [test:test]
The reason I think hudson is not communicating with the selenium server is because when I run junit tests through my own command line with the server stopped, I get the same error message.
It is also important to note that I used the seleniumHQ plugin for hudson to run my tests using html files, but I want to change it to JUnit as more flexible.
Any help on this is greatly appreciated!
Thanks, Gearoid.
source
share