Automated testing for StackHPC OpenStack Clouds.
Provides test coverage of various aspects of OpenStack and related services, including:
- OpenSearch
- Prometheus
Tests are written using pytest.
Clone this repository.
Create a virtual environment.
python3 -m venv venv
Install stackhpc-cloud-tests and its dependencies.
venv/bin/pip install <path/to/repo> -r <path/to/repo>/requirements.txt
Run all tests provided.
py.test --pyargs stackhpc_cloud_tests
Or run tests from a specific submodule.
py.test --pyargs stackhpc_cloud_tests.test_prometheus