Skip to content

[Week7 - Task4] Improve pagination and sorting tests#49

Open
kminseo03 wants to merge 2 commits into
mainfrom
task4-tests
Open

[Week7 - Task4] Improve pagination and sorting tests#49
kminseo03 wants to merge 2 commits into
mainfrom
task4-tests

Conversation

@kminseo03

Copy link
Copy Markdown

Summary

  • Add seed_notes and seed_action_items helper fixtures to conftest.py
  • Add 12 new notes tests: pagination (skip/limit/cap), sorting (asc/desc by title/created_at), invalid sort fallback, combined search+pagination+sorting
  • Add 12 new action items tests: pagination, sorting (description/created_at/completed), completed filter with pagination and sorting
  • Total 26 tests covering all pagination and sorting edge cases

Test plan

  • All 26 tests pass (make test)
  • Lint clean (make lint)
  • Code formatted (make format)

🤖 Generated with Claude Code

kminseo03 and others added 2 commits March 17, 2026 13:13
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add seed_notes and seed_action_items helper fixtures in conftest
- Add notes tests: skip/limit, skip beyond items, limit=0, limit>200 cap,
  sort asc/desc by title and created_at, invalid sort fallback,
  search+pagination, search+sorting, combined search+pagination+sorting
- Add action items tests: skip/limit, skip beyond, limit=0, limit>200,
  sort by description/created_at/completed, invalid sort fallback,
  completed filter+pagination, completed filter+sorting
- Total 26 tests covering all pagination/sorting edge cases

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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