Skip to content

test: add coverage make target#309

Merged
Agentscreator merged 1 commit into
Agentscreator:mainfrom
sundaram2021:feat/make-test-cov
May 3, 2026
Merged

test: add coverage make target#309
Agentscreator merged 1 commit into
Agentscreator:mainfrom
sundaram2021:feat/make-test-cov

Conversation

@sundaram2021

Copy link
Copy Markdown
Contributor

Description

Adds a make test-cov command that runs the full test suite with coverage for the engram package and reports missing lines. Also adds pytest-cov to dev dependencies and updates uv.lock.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)

Related Issues

Fixes #308

Changes Made

  • Added test-cov Makefile target with configurable TEST_COV_ARGS
  • Added pytest-cov>=7.0.0 to dev dependencies
  • Updated uv.lock with pytest-cov and coverage

Testing

Describe the tests you ran to verify your changes:

  • Unit tests pass (make test)
  • Lint passes (ruff check .)
  • Manual testing performed

Additional verification:

  • make install
  • make test-cov — 622 passed, 2 skipped
  • make test-cov TEST_COV_ARGS="tests/test_engine.py --cov=engram --cov-report=term-missing" — 40 passed
  • make test-all — 622 passed, 2 skipped

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@vercel

vercel Bot commented May 3, 2026

Copy link
Copy Markdown

@sundaram2021 is attempting to deploy a commit to the agentscreator's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Agentscreator Agentscreator merged commit 1574889 into Agentscreator:main May 3, 2026
5 of 6 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.

[Feature]: Add make test-cov for pytest coverage reporting

2 participants