robotframework¶
robotframework/robot@v1¶
Run a Robot Framework test suite.
If you want to generate Allure reports, the allure-robotframework
Python library must be installed in the execution environment.
Examples¶
This first example runs all tests in the foobar
test suite:
- uses: robotframework/robot@v1
with:
datasource: foobar
This second example runs the foo
test in the foobar
test suite,
and an Allure report will be generated:
- uses: robotframework/robot@v1
with:
datasource: foobar
test: foo
reports_for_allure: true
Inputs¶
-
datasource
(required)The datasource to use.
-
test
(optional)Specify a test case present in the datasource. By default, all test cases in the datasource are executed.
-
reports_for_allure
(optional)A boolean. Set to
true
to enable the generation of Allure reports. By default, Allure reports are not generated.
robotframework/execute@v1¶
An execute
action for use by generators. Runs a test suite or a
test case in a test suite.
Example¶
- uses: robotframework/execute@v1
with:
test: foobar
Inputs¶
-
test
(required)The test suite (and optional test case) to execute.
It is of the form:
{datasource}[#{testcase}]
robotframework/params@v1¶
A params
action for use by generators.
Example¶
- uses: robotframework/params@v1
with:
data:
global:
key1: value1
key2: value2
test:
key1: value3
key3: value4
format: format
format
must so far be SQUASHTM_FORMAT (tm.squashtest.org/params@v1
).
data
can have two keys:
global
for defining global parameterstest
for defining test parameters
Inputs¶
-
data
(required)The data to use for the automated test.
-
format
(required)The format to use for the automated test data.
format
must so far be SQUASHTM_FORMAT (tm.squashtest.org/params@v1
).