Skip to content

Testing an Agent by exercising its protocols using pytest

Notifications You must be signed in to change notification settings

cjhowland/agent-testing

 
 

Repository files navigation

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!

About

Testing an Agent by exercising its protocols using pytest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.4%
  • JavaScript 16.6%