microsoft / microsoft/rag-experiment-accelerator
Using Classes in testing.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 311
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
There needs to be a consensus on whether we use classes while testing or not.
Currently, there are some tests that are in classes and some that are not. For uniformity should all tests be in Classes?
What advantages are gained from Classes vs not?
found some thoughts on it here:
https://stackoverflow.com/questions/50016862/grouping-tests-in-pytest-classes-vs-plain-functions
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the repository's existing tests to inventory which use classes and which use plain functions. Read the linked pytest discussion, then compare the advantages and tradeoffs for this project. Done means reaching and recording a clear decision on a uniform testing convention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100