posit-dev / posit-dev/images-shared
Improve handling of test project resource suites
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 22
Description
I added another test resource suite, "barebones", in #82 since the "basic" suite could not fulfill my requirements for testing Snyk commands. This required me to do a bunch of copy/paste of the fixtures available for "basic" which is not a great way of handling this moving forward. We need to find a way to condense down the fixture code (possibly by using factories?) so we don't add 100 loc each time we have need for a new suite.
Contributor guide
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
Compare the existing "basic" and "barebones" resource-suite fixtures, including the copy/pasted setup added in #82, to identify the shared structure. Run the relevant test-project checks and consider the fixture-sharing approach; done means a new suite no longer requires duplicating roughly 100 lines while existing suites continue to work.
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
- 35/100