All Projects → robotframework → MavenPlugin

robotframework / MavenPlugin

Licence: other
Maven plugin for using the Robot Framework

Programming Languages

java
68154 projects - #9 most used programming language
python
139335 projects - #7 most used programming language
RobotFramework
109 projects

MavenPlugin

Maven plugin for using the Robot Framework. Goal of this plugin is to be able to use Robot Framework in a Maven project without the need to install anything extra (e.g. Robot Framework, Jython, etc). In short, it's a non-invasive way of introducing acceptance test driven development to your existing projects quickly.

Plugin documentation is available at http://robotframework.github.com/MavenPlugin/

This project was forked from http://code.google.com/p/robotframework-maven-plugin in order to be able to make backwards incompatible changes to configuration.

Maven Goals

The plugin currently has three goals:

  • run - behaves like invoking the "jybot" Robot Framework command for executing test cases
  • libdoc - invokes the "libdoc.py" Robot Framework command for generating keyword documentation for test libraries and resource files
  • testdoc - invokes the "testdoc.py" Robot Framework command for generating high level documentation based on test cases

Quick Start

Add the plugin to your build:

<project>

  <build>
    ..
    ..
    <plugins>
      ..
      ..

      <plugin>
        <groupId>org.robotframework</groupId>
        <artifactId>robotframework-maven-plugin</artifactId>
        <version>2.1.0</version>
        <executions>
          <execution>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      ..
      ..
    </plugins>
  </build>

</project>

By default, you can add your test cases to ${project.basedir}/src/test/robotframework/acceptance

Third party libraries (e.g. Selenium Library) can be added to ${project.basedir}/src/test/resources/robotframework/libraries

During mvn install invocation, run command will be invoked during the integration-test phase.

For more detailed documentation please see http://robotframework.github.com/MavenPlugin/

NOTE: If needing plugin with Java 1.7, latest version supporting that is 1.4.9

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].