Skip to content
Taras Hupalo edited this page Dec 7, 2013 · 11 revisions

Launching tests with Maven

  1. Build web module (mvn clean install)
  2. Run selenium tests in web-tests module (mvn clean integration-test thucydides:aggregate). You need to use Maven 3 and Java 1.7 for Jetty plugin.
  • thucydides:aggregate is optional. It is used for generating reports. You can see reports /website\web-tests/target/site/thucydides/index.html.
  • default url for tests is http://localhost:8090/it-interview/. You can change port and context path in pom.xml.

Launching tests with IDEA

  1. You need to create launch configuration for Jetty. Screenshot.

  2. And launch configuration for test suite. Screenshot

  3. Run Jetty.

  4. Run test suite. You can run you tests many times while Jetty is running. You don't need to run and stop Jetty each time before tests.

Additional info

Running subsets of test - https://java.net/projects/thucydides/forums/user-forum/topics/63091-Thucydides-JBehave-Running-subsets-of-test

Clone this wiki locally