Mock out the generator
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- PHP
- Stars
- 30
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Test cases should use a fake generator. This will reduce complexity of the test cases and make them not bound to random events.
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
Start by reviewing the repository's test cases and identifying where they invoke the random generator. Replace those calls with a fake generator so the tests no longer depend on random events, then run the test suite to confirm the cases remain deterministic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100