Hi,

After noticing that some examples seem to compile fine, but don’t actually 
work, I decided to invest a day in building integration tests to test the 
examples in a browser (currently Firefox).
As this requires the “Geckodriver” to be installed, I made the tests auto 
activate themselves as soon as the “webdriver.gecko.driver“ property is set to 
the path of the geckodriver executable.

What happens is:

-          The tests are compiled

-          A Tomcat8 is setup and started

-          the HelloWorld example is deployed

-          The Selenium JUnit Tests are run

-          The tomcat is shutdown

Please have a look at this, if you think this is a valid path, then I would 
start writing some test-cases that basically test some of our examples.

Get geckodriver from here: https://github.com/mozilla/geckodriver/releases
I needed to update my Firefox to the latest version in order for the tests to 
run.

Chris

Reply via email to