This repository demonstrates testing an agent by exercising its protocols from the outside using pytest.
This project was used as an exercise to get familiar with the concept of agents. No further development is planned and this project is archived.
Install poetry locally or globally.
Local:
$ python3 -m venv env
$ source env/bin/activate
$ pip install poetry
Global:
$ pip install --user poetry
Install dependencies:
$ poetry install
Run tests with:
$ poetry run pytest
This project uses pre-commit to help developers maintain consistency in their code. It is strongly encouraged that you use install these hooks.
Install pre-commit hooks (after poetry install
):
$ pre-commit install --hook-type commit-msg
$ pre-commit install
This project uses conventional commit messages. It is strongly recommended that all contributions follow this standard for commit messages. Commit early and often!