Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (39 loc) · 1.11 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.11 KB

Agent Testing Demonstration (Archived)

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.

Quickstart

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

Contributing

Pre-Commit

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

Conventional Commits

This project uses conventional commit messages. It is strongly recommended that all contributions follow this standard for commit messages. Commit early and often!