Giter Site home page Giter Site logo

ibm / devopsauto-functest-actions Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 142 KB

This is a gitHub Action workflow for IBM DevOps Automation Rational Functional Tester

License: Apache License 2.0

JavaScript 100.00%
automation-testing developer-tools devops devops-automation devops-tools functional-testing continuous-integration

devopsauto-functest-actions's Introduction

Rational Functional Tester GitHub Action

Rational Test provides software testing tools to support a DevOps approach: API testing, functional testing, UI testing, performance testing and service virtualization. It helps you automate and run tests earlier and more frequently to discover errors sooner - when they are less costly to fix.

This action enables the ability to run tests and compount tests from Rational Functional Tester projects on self hosted runners.

Usage

Prerequisites

Configure a self hosted runner on a suitable machine

  1. The host machine will need a licensed copy of Rational Functional Tester and the UI projects containing the tests you wish to run.
  2. Add a self-hosted runner at an appropriate level, ensure you have configured network access.
  3. If you are using more than one runner assign it a suitable label and note this for later.

Setup

In the repository you want to apply the action to

  1. Create a folder named ".github/workflows" in the root.
  2. Create a .yml file with any name, inside the ".github/workflows" folder based on the following example content:
name: Rational Functional Tester

on: workflow_dispatch

jobs:
    UI-Action:
        runs-on: self-hosted
        name: Rational Functional Tester
        steps:
         - name: Execute Test
           uses: IBM/devopsauto-functest-actions@main
           with:
            projectDirectory:  <C:\Data\MyProject>
            scriptName: <MyScript>
  1. Update the parameterized items to refer to your project and tests (see parameter details below).
  2. If you have more than one runner configured, then use its label as the argument for runs-on.
  3. Push your updated yml file to the repository.
  4. Go to the Actions section in the repository and select the workflow.
  5. Click the Run workflow dropdown and the list of input boxes get displayed.

As an alternative to having all of the test projects pre-configured on the runner machine, users could leverage other actions within the workflow to pull down the latest copies.

Required Parameters

  • projectDirectory Fully qualified path to the Rational Functional Tester project directory.
  • scriptName Name of the script to be executed without the extension. For eg., Script1 or TestFolder.Script1 in case Script1 is in a folder named TestFolder.

Optional Parameters

  • iterationCount Number of dataset iterations to be run.
  • logFormat Format of script execution logs. Choose from Default, none, json, xml, html, text, and TPTP.
  • userArguments Additional playback arguments, if any. If there are multiple arguments, you must enclose each argument within double quotes and separate the arguments by providing a space between them.

Troubleshooting

  • No runner available: Check that the runner still exists in GitHub, if the local agent has not connected to GitHub for a period of 14 days then it will be automatically removed.

devopsauto-functest-actions's People

Contributors

ibm-open-source-bot avatar jc-hcl avatar willetta avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.