Aller au contenu

ranorex

ranorex/ranorex@v1

Run a Ranorex test suite.

solution, solution_file and project are mandatory parameters. The test_suite and the test_container are optional parameters. However the test_container parameter requires a test_suite parameter.

If the action is used more than once in a job, it is up to the caller to ensure no previous test execution results remains before executing a new test.

It is also up to the caller to attach the relevant reports so that publishers can do their job too, by using the actions/get-files@v1 action or some other means.

Example

- uses: ranorex/ranorex@v1
  with:
    solution: my\ranorex\solution
    solution_file: solution.sln
    project: name
    test_suite: name
    test_container: name
    global_params:
      name1: value1
      name2: value2
    test_container_params:
      name1: value1
      name2: value2

Inputs

  • solution (required)

    The path to the solution to execute.

  • solution_file (required)

    The name of the solution's .sln file.

  • project (required)

    The name of the project to execute.

  • test_suite (optional)

    The name of the test suite to execute.

  • test_container (optional)

    The name of the test container to execute.

  • global_params (optional)

    Parameters to be passed as global parameters to the executed project.

  • test_container_params (optional)

    Parameters to be passed to the executed test container, if a test container has been specified.

ranorex/execute@v1

An 'execute' action for use by generators.

execute actions have a mandatory test input.

The first three arguments (separated by #) in the test input are mandatory, the last one is optional.

Example

- uses: ranorex/execute@v1
      with:
        test: my/ranorex/solution/solution.sln#project#testSuite#testContainer

Inputs

  • test (required)

    The path to the project's .sln file, followed by the project name, then the test suite name, then the test container name. All parts must be separated by '#'.

ranorex/params@v1

A 'params' action for use by generators.

params actions have mandatory data and format inputs.

format must so far be SQUASHTM_FORMAT (tm.squashtest.org/params@v1).

Example

- uses: ranorex/params@v1
  with:
    data:
      global:
        key1: value1
        key2: value2
      test:
        key1: value1
        key3: value3
    format: format

Inputs

  • data (required)

    the data to use for the automated test

  • format (required)

    the format to use for the automated test data

Retour en haut de la page