Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 978 Bytes

README.md

File metadata and controls

56 lines (37 loc) · 978 Bytes

Agent Testing Demonstration

This repository demonstrates testing an agent by exercising its protocols from the outside using pytest.

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!