dbluhm / agent-testing

Testing an Agent by exercising its protocols using pytest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Testing an Agent by exercising its protocols using pytest


Languages

Language:Python 97.6%Language:Dockerfile 1.7%Language:JavaScript 0.7%