/pytest_helm

Pytest plugin for testing helm charts

Primary LanguagePythonMIT LicenseMIT

pytest_helm

PyPI version Python versions See Build Status on Travis CI See Build Status on AppVeyor

Pytest helpers to test Helm charts


This pytest plugin was generated with Cookiecutter along with @hackebrot's cookiecutter-pytest-plugin template.

Features

  • Render helm templates and make assertion on generated resources
  • Helpers to load resources by GVK and name

Requirements

  • Python >= 3.8
  • PyTest >= 5.4

Installation

You can install "pytest_helm" via pip from PyPI:

$ pip install pytest_helm

Usage

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "pytest_helm" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.