-
Notifications
You must be signed in to change notification settings - Fork 23
Web tests
Taras Hupalo edited this page Dec 7, 2013
·
11 revisions
- Build web module (
mvn clean install) - 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.
-
You need to create launch configuration for Jetty.
.
-
And launch configuration for test suite.
-
Run Jetty.
-
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.
Running subsets of test - https://java.net/projects/thucydides/forums/user-forum/topics/63091-Thucydides-JBehave-Running-subsets-of-test