Skip to content

test: add E2E API tests for notes, tags, goals, gamification (#11)#143

Open
VECTORG99 wants to merge 1 commit into
feat/38-structured-loggingfrom
feat/11-e2e-tests
Open

test: add E2E API tests for notes, tags, goals, gamification (#11)#143
VECTORG99 wants to merge 1 commit into
feat/38-structured-loggingfrom
feat/11-e2e-tests

Conversation

@VECTORG99

Copy link
Copy Markdown
Collaborator

E2E API Tests (#11)

Changes

  • api/tests/test_e2e_notes.py (NEW) — Note CRUD lifecycle (create, read, update, delete, 422 validation, rebuild-derived)
  • api/tests/test_e2e_tags.py (NEW) — Tag CRUD (create, list, set parent, self-parent prevention, graph endpoint)
  • api/tests/test_e2e_goals.py (NEW) — Goal CRUD (create, list, get by id, 404, complete, delete)
  • api/tests/test_e2e_gamification.py (NEW) — Gamification endpoints (stats, recent events, ping, XP award on note creation)
  • .github/workflows/ci.yml — Switch test runner from unittest discover to pytest (required for fixture-based tests)

Stacking

Branch base: feat/38-structured-logging (needs middleware for app fixture)

Closes #11

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.

1 participant