Skip to content

Document how to clone and run the included tests - #8

Merged
Doringber merged 1 commit into
mainfrom
cursor/readme-opening-6ec1
Nov 1, 2026
Merged

Doringber merged 1 commit into
mainfrom
cursor/readme-opening-6ec1

Conversation

@Doringber

Copy link
Copy Markdown
Owner

What

Replaces the README opening with the approved description and a clone-and-run block. The banner title stays. Quick start and the rest of the README are unchanged and not duplicated.

Command check

The approved commands match this repo, so they were not rewritten:

  • requires-python is >=3.11, so “Python 3.11+” is correct.
  • [project.optional-dependencies] dev exists and includes pytest (plus pytest-cov, ruff, and mypy), so pip install -e ".[dev]" is valid.
  • ## Quick start is an existing heading, so “See Quick start” refers to that section.

pip install -e ".[dev]" was installed in a local venv. Pytest collected the suite from that install.

Suggested GitHub repo description

Set this manually in the repository About settings:

Pytest framework for testing AI agents: tool calls, side effects, and HTML reports. Mock tests in CI; live E2E is opt-in.

pytest on main and PR #5

Open PR #5 is not merged, so it does not make the documented pytest pass on current main. After pip install -e ".[dev]" on this branch (same tests as main), plain pytest fails three tests:

  • tests/test_version.py::test_read_version_file and test_resolve_version_matches_file expect 0.1.1 while VERSION is 0.1.2.
  • test_cursor_agent_client_normalizes_malformed_tool_payloads fails when mcpToolCall is a list: the run is reported successful instead of a malformed response.

PR #5 fixes those three failures, and its CI is green (266 passed). Until that PR is merged, pytest as documented in this README does not pass on main. This change does not include that fix.

Open in Web Open in Cursor 

Replace the README intro with the approved description and install
commands. Python 3.11+ and the dev extra already match this repo.

Co-authored-by: Dor Ingber  <Doringber@users.noreply.github.com>
@Doringber
Doringber merged commit 43e9b66 into main Nov 1, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants