cockpit/tests/roles/standard-test-scripts
Stef Walter 0be74aea08 Update the standard-test-scripts from standard-test-roles
We're still before a new release of standard-test-roles, so
keep updating this role here.
2017-09-25 19:39:17 +02:00
..
defaults Initial smoke tests run from upstream Cockpit project 2017-09-21 12:01:44 +02:00
tasks Update the standard-test-scripts from standard-test-roles 2017-09-25 19:39:17 +02:00
vars Initial smoke tests run from upstream Cockpit project 2017-09-21 12:01:44 +02:00
README.md Update the standard-test-scripts from standard-test-roles 2017-09-25 19:39:17 +02:00

Ansible role for executing test scripts

Put this role in your tests.yml playbook and specify a number of test scripts to execute as tests. The results of each script will be piped into log file in the artifacts directory. If any script exits with a non-zero exit code the role will fail.

In the case of test subjects such a host or container, these test scripts and related files will be copied to the target into /var/tmp/tests before execution.

You should define the following variables:

  • tests: An array of scripts to run
  • files: A list of files or directories needed by the scripts