Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (23 loc) · 677 Bytes

TESTING.md

File metadata and controls

36 lines (23 loc) · 677 Bytes

TESTING

This role includes everything necessary to be tested with Molecule.

To install all required dependencies in a local development environment you can execute the following:

# If not existent
python3 -m venv env

source env/bin/activate

pip3 install --upgrade -r requirements.txt

Running tests

To run the default scenario just execute

molecule test

To execute the role and preserve the containers use

molecule converge

After that you can manually execute all tests with

molecule verify

For more details on how to use molecule please refer to the documentation.