Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.01 KB

pytest-ai1899-plugin


License PyPI PyPI - Downloads

What?

To enable seamless integration with ai1899 stack (https://github.com/Formartha/ai1899), a pytest plugin was created. The plugin accepts query as an input or from pytest.ini directory and uses it to select testcases based on predefined citeria.

How to install?

pip install pytest-ai1899

pytest.ini options examples:

to start the plugin, please pass --ai1899_activate or use ai1899_activate=true in the pytest.ini file.

[pytest]
ai1899_endpoint = http://127.0.0.1/ai
ai1899_query = a test with data
ai1899_collection = Tests
ai1899_limit = 5