GithubHelp home page GithubHelp logo

hartl3y94 / robotframework-gradle-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fossabot/robotframework-gradle-plugin

0.0 0.0 0.0 237 KB

Gradle plugin for using the robot framework

License: Apache License 2.0

Kotlin 98.28% RobotFramework 1.14% Java 0.58%

robotframework-gradle-plugin's Introduction

robotframework-gradle-plugin

Gradle plugin for using the Robot Framework. This project is inspired by the robotframework maven plugin. Its goal is to enable you to use the Robot Framework in a gradle project without the need to install anything extra (e.g. Robotframework, Jython, etc.).

This plugin is just a convenient wrapper for the robotframework standalone-jar-distribution! Therefore, it primarily addresses RF libraries written in java.

General

robotframework gradle plugin git%2Bgithub.com%2Fqualersoft%2Frobot gradle plugin

Main

badge main?s=2996b4322bfcdca3d8e6250191d67a1410cf3a16 badge

Develop

badge develop?s=2996b4322bfcdca3d8e6250191d67a1410cf3a16 badge

Quickstart

Just add the following lines to you build.gradle(.kts)

import de.qualersoft.robotframework.gradleplugin.tasks

plugins {
  id("de.qualersoft.robotframework") version "<latest>"
}

tasks.register<RunRobotTask>("robotTest") {
  sources = fileTree("src/test") {
    include("**/*.robot")
  }
}
ℹ️
Don’t forget to replace the version "<latest>" with the appropriate version😉

Assuming you have some robot test suite files somewhere under your src/test folder, calling

./gradlew robotTest

starts the test execution.

For further configuration and examples have a look at the test resources.

Available tasks (*)

For details see robot framework tasks

RunRobotTask

same as robot.run command

LibdocTask

same as robot.libdoc command

TestdocTask

same as robot.testdoc command

RebotTask

same as robot.rebot command

TidyTask

same as robot.tidy command

(*) All task implementations are in package de.qualersoft.robotframework.gradleplugin.tasks

robotframework-gradle-plugin's People

Contributors

mathze avatar web-flow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.