Created
March 20, 2015 03:58
-
-
Save stevez/4ad40e28261569da15dc to your computer and use it in GitHub Desktop.
gradle srcript to run robotframework test cases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply plugin: 'java' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| runtime group: 'org.robotframework', name: 'robotframework', version: '2.8.7' | |
| runtime group: 'com.github.markusbernhardt', name:'robotframework-selenium2library-java', version:'1.4.0.7' | |
| } | |
| clean{ | |
| delete 'target' | |
| } | |
| task(run, type: JavaExec) { | |
| main = 'org.robotframework.RobotFramework' | |
| classpath = sourceSets.main.runtimeClasspath | |
| args '--variable', 'BROWSER:gc' | |
| args '--outputdir', 'target' | |
| args 'tests' | |
| } | |
| defaultTasks 'run' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment