Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial testing setup #6

Open
5 tasks
thekaveman opened this issue Nov 22, 2024 · 0 comments
Open
5 tasks

Initial testing setup #6

thekaveman opened this issue Nov 22, 2024 · 0 comments

Comments

@thekaveman
Copy link
Member

thekaveman commented Nov 22, 2024

Depends on #5

  • New dependency type test in pyproject.toml

  • Add dependencies

    "coverage",
    "pytest",
    "pytest-django",
    "pytest-mock",
    "pytest-socket",
    
  • Create tests/pytest directory

  • Create a test file and a test that requests / from the app and asserts a 200 response

  • Create a GitHub Actions workflow to run pytests on push and pull_request, upload coverage report, comment w/coverage report

@github-project-automation github-project-automation bot moved this to Needs shaping in PeMS Nov 22, 2024
@thekaveman thekaveman moved this from Needs shaping to Todo in PeMS Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant