Thursday, March 19, 2015

Example to execute RobotFramework test cases using maven plugin

I spent some time using maven plugin to run the RobotFramework tests. It is OK, run as expected.
But I feel it is a kind of restrictive.

Here I post my one maven pom.xml example.

For details, please check my github source code:
1. https://github.com/stevez/robotframework-maven-plugin-example
2. https://github.com/stevez/robotframework-java-keyword


pom.xml

Execute RobotFramework test cases using Gradle script


I did some research for RobotFramework using maven plugin. But I don't like it. it is too restrictive.Today I tried to implement a Gradle script, it is working, surprising easy.  Here is the code sample.

For details please refer my github repository.

build.gradle