Skip to content

Formartha/pytest-ai1899

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A plugin made for ai1899 lm based test selector

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages