|Quick links to automated test reports



|https://fedoraproject.org/wiki/CI/Tests/stat_atomic[stat atomic]

|https://fedoraproject.org/wiki/CI/Tests/recent_builds[recent builds]

|https://fedoraproject.org/wiki/CI/Tests/stat_everything_subset[stat everything subset]

|https://fedoraproject.org/wiki/CI/Tests/stat_fedoraserver[stat fedoraserver]
Tests may be written in different ways, but are exposed and invoked in a standard way as defined by the xref:standard-test-interface.adoc[Standard Test Interface] directly in the package https://src.fedoraproject.org/projects/rpms/%2A[git repository]. It is also possible to enable pipeline for the tests namespace, see xref:share-test-code.adoc#_testing_tests[Testing Tests] for details. To start working on tests you can clone a package repo directly:
git clone https://src.fedoraproject.org/rpms/qrencode.git
You can also use the `fedpkg` to clone the repo. See the https://fedoraproject.org/wiki/Package_maintenance_guide[Package Maintenance Guide] for more info about the tool:
fedpkg clone -a qrencode
Tests are enabled by including the `tests.yml` file under the `tests` directory:
cd qrencode/tests
cat tests.yml
Tests are wrapped or written as http://docs.ansible.com/ansible/playbooks.html[Ansible playbooks]. Here is an example of a simple playbok which enables a single `smoke` test of the `qrencode` package:
- hosts: localhost
- role: standard-test-beakerlib
- classic
- container
- atomic
- smoke
- qrencode
- file
Let's now briefly look at the playbook to see which variables are defined in order to enable the smoke test:
this test uses role `standard-test-beakerlib` from xref:standard-test-roles.adoc[Standard Test Roles] to run a BeakerLib test
all three test subjects (xref:standard-test-roles.adoc#_classic[classic] rpm, docker xref:standard-test-roles.adoc#_container[container] and xref:standard-test-roles.adoc#_atomic[atomic] host) are relevant for this test
list of tests to be executed (here we have just a single smoke test)
list of rpm packages required for test execution