pytest-splunk-addon is an open-source dynamic test plugin for Splunk Apps and Add-ons which allows the user to test knowledge objects, CIM compatibility and index time properties.
Platforms: Linux, Windows and MacOS
Generate tests for Splunk Knowledge objects in Splunk Technology Add-ons.
Generate tests for checking CIM compatibility in Splunk Technology Add-ons.
Generate tests for checking Splunk index-time properties in Splunk Technology Add-ons.
Validate your add-ons using Splunk + Docker.
pytest-splunk-addon can be installed via pip from PyPI:
pip3 install pytest-splunk-addon
Or, in any case, if pip is unavailable:
1. git clone https://github.com/splunk/pytest-splunk-addon.git 2. cd pytest-splunk-addon 3. pip install poetry 4. poetry install