Skip to content

feat(testing): set up pytest-django testing infrastructure#51

Merged
robert197 merged 1 commit into
mainfrom
feat/5-testing-infrastructure
Mar 31, 2026
Merged

feat(testing): set up pytest-django testing infrastructure#51
robert197 merged 1 commit into
mainfrom
feat/5-testing-infrastructure

Conversation

@robert197

Copy link
Copy Markdown
Owner

Summary

  • Add pytest-xdist to requirements for parallel test execution
  • Configure coverage reporting (make coverage) with source/omit settings
  • Create test directory structure mirroring all 6 apps
  • Add AdminFactory and OwnerFactory alias, fix deprecation warnings
  • Replace manual conftest fixtures with factory-based ones
  • Write 5 smoke tests for the User model (all passing)

Closes #5

Testing

  • make test — 5 tests pass
  • make coverage — coverage report shows 76% on apps/
  • make lint — all checks pass
  • Parallel execution available via make test ARGS="-n auto"

Post-Deploy Monitoring & Validation

No additional operational monitoring required: this is dev-only testing infrastructure with no production impact.

🤖 Generated with Claude Opus 4.6 via Claude Code

Add pytest-xdist for parallel test execution, configure coverage reporting,
create test directory structure mirroring apps, update factories with
AdminFactory and OwnerFactory alias, replace manual conftest fixtures with
factory-based ones, and add smoke tests for the User model.

Closes #5
@robert197 robert197 merged commit 30fb3dc into main Mar 31, 2026
@robert197 robert197 deleted the feat/5-testing-infrastructure branch March 31, 2026 16:50
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.

Set up testing infrastructure with pytest-django

1 participant