Ticket #207 (closed enhancement: wontfix)
Maven Plug-in for PushToTest
| Reported by: | fcohen | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Version: | 5.3 | Keywords: | |
| Cc: |
Description
Implements maven-pushtotest-plugin:test to run a TestScenario as specified by a Maven plugin and its properties. Internally invokes the com.pushtotest.testmaker.Main class using the command-line (-t) parameter as described there.
Prior to using the plugin, add the PushToTest maven 2 repository either to your project or settings.xml;
<pluginRepositories>
<pluginRepository>
<id>PushToTestPluginRepository?</id> <url>http://maven.pushtotest.com/</url>
</pluginRepository>
</pluginRepositories>
Then, add the PushToTest plugin to your pom.xml
<plugins>
<plugin> <groupId>PushToTest</groupId> <artifactId>maven-pushtotest-plugin</artifactId> <version>1.7.6</version> <configuration>
<projectFile>sample-pushtotest-project.xml</projectFile> <host>http://127.0.0.1:8181</host>
</configuration> </plugin>
</plugins>
Run TestScenarios? with
mvn pushtotest:maven-pushtotest-plugin:test
The plugin will load the specified project file and run the TestScenario.
-Frank
