...
- Install the TestNG plugin to allow running of individual TestNG unit tests from within in Eclipse.
- Right-click on any test class and select Run As >TestNG Test
Command-line users:
- ./gradlew -Dtest.single=myclassname
- ./gradlew -Dtest.single=myclassname.mymethod
where myclassname is the test class, such as FormTest
The Tapestry integration tests will repeatedly start up a Firefox browser.
...
The Tapestry source includes several web apps that are used by the automated Selenium integration tests. You can also run these apps manually to try out nearly every browser-visible aspect of Tapestry. (See a live example running on Google App Engine.)
- If using Eclipse:
- Use the run-jetty-run plugin in Eclipse, with the context directory selected from among the
test
context directories. For example, in the tapestry-core module, right click on the /src/test/app1 (or app2, etc) folder, and select Run As > Run Jetty, then open your browser to http://localhost:8080/tapestry-core
...