Overview (Under Construction)#

This page describes the process to run PKI Functional Tests locally on a single machine.

Prerequisites#

Run the following commands to install the required packages:

$ pip install pytest-ansible
$ pip install pytest-autochecklog

Building and Installing Test Package#

To build the test package:

$ ...

To install the test package:

$ dnf install ...

Configuring Test Parameters#

Create a file containing the list of machines to be used for testing (e.g. test.cfg):

[host]
localhost

Running the Tests#

To run the tests:

$ py.test --ansible-inventory test.cfg --ansible-host-pattern host test_pki.py -q -s

References#