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

Closed
6 tasks
thekaveman opened this issue Nov 22, 2024 · 1 comment · Fixed by #41
Closed
6 tasks

Initial testing setup #6

thekaveman opened this issue Nov 22, 2024 · 1 comment · Fixed by #41
Assignees

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 a /healthcheck endpoint from the app and asserts a 200 response code and "Healthy" response text

  • Implement this endpoint in the Django app so the test passes

  • 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
@thekaveman thekaveman mentioned this issue Nov 22, 2024
3 tasks
@thekaveman thekaveman added this to the Initial project setup milestone Dec 2, 2024
@lalver1 lalver1 self-assigned this Dec 6, 2024
@thekaveman
Copy link
Member Author

@lalver1 you may want to do #33 first

@lalver1 lalver1 moved this from Todo to In progress in PeMS Dec 9, 2024
@lalver1 lalver1 moved this from In progress to In review in PeMS Dec 10, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in PeMS Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants