Package org.apache.tapestry5.test
Annotation Type TapestryTestConfiguration
- 
 @Target(TYPE) @Retention(RUNTIME) @Inherited @Documented public @interface TapestryTestConfiguration To be used on Selenium-based integration tests that extendSeleniumTestCaseas an alternative to using a TestNG XML configuration file. Using the XML file, it's intricate to run individual test classes or methods using IDEA's or Eclipse's TestNG integration. Parameters coming from a TestNG XML configuration file take precedence over those supplied with the annotation. Configures the container to be started for the tests and the browser to be used.- Since:
- 5.4
 
- 
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description StringbrowserStartCommandThe browser start command to use with Selenium.StringcontainerWhich container to use.StringcontextPathThe context path to make the application available under.intportThe port to listen on for HTTP requests.intsslPortThe port to listen on fot HTTPS requests.StringwebAppFolderThe folder for the web application root relative to the working directory.
 
- 
- 
- 
Element Detail- 
webAppFolderString webAppFolder The folder for the web application root relative to the working directory. Defaults to "src/main/webapp".- Default:
- "src/main/webapp"
 
 
- 
 - 
- 
containerString container Which container to use. Can be one ofSeleniumTestCase.JETTY_7orSeleniumTestCase.TOMCAT_6. Defaults toSeleniumTestCase.JETTY_7.- Default:
- "jetty7"
 
 
- 
 - 
- 
contextPathString contextPath The context path to make the application available under. Defaults to "", i.e. the context root.- Default:
- ""
 
 
- 
 - 
- 
portint port The port to listen on for HTTP requests. Defaults to "9090".- Default:
- 9090
 
 
- 
 - 
- 
sslPortint sslPort The port to listen on fot HTTPS requests. Defaults to "8443".- Default:
- 8443
 
 
- 
 - 
- 
browserStartCommandString browserStartCommand The browser start command to use with Selenium. Defaults to "*firefox".- Default:
- "*firefox"
 
 
- 
 
-