Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Less system tests, and more unit tests

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
testing

Research direction

Start by running the test suite through tox and inventorying which tests depend on the database, web server, or authentication service. Define separate unit and integration-test groups, then verify that the unit tests run without those services and that the full tox suite still covers the integration tests.

Written by the indexing model from the issue text.

Description

refactoring

The tests take way too long to run via tox. Tests should be fast to run so people actually run them. This is because a lot of the tests are system tests with dependencies on the database, web server, authentication service etc. Investigate and attempt to resolve this by breaking the tests into distinct unit and integration tests.

Dominant language
Python
Stars
317
Forks
91
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getpatchwork/patchwork

All issues in getpatchwork/patchwork

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.