oracle / oracle/macaron

Refactor tests and remove unittest.TestCase subclasses

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

Nobody has claimed this yet.

tests
Dominant language
Python
Stars
210
Forks
36
Avg merge
1d 10h
Merged PRs (30d)
2

Description

Due to limited support of unittest.TestCase subclasses in pytest, we should refactor the tests and remove the custom MacaronTestCase class to be able to use all of the features in pytest.

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.

Research direction

The issue names no specific files or tests. Start by locating the custom MacaronTestCase class and all unittest.TestCase subclasses in the test suite, then review how pytest currently runs them; done means the subclasses and custom class are removed while the tests continue to pass and can use pytest features.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.