MetaMask / MetaMask/contributor-docs
Add guidelines around test mocking
Open
category-documentation
github-migration-triaged
team-wallet-framework
wf-documentation
- Dominant language
- JavaScript
- Stars
- 86
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
We should add guidance on how to use mocks when testing.
Some ideas for inspiration:
* https://www.youtube.com/watch?v=Af4M8GMoxi4
* https://martinfowler.com/articles/mocksArentStubs.html
Contributor guide
Research direction
Start by reviewing the proposed references, including Martin Fowler's article on mocks and stubs and the linked YouTube talk, then inspect the contributor-docs structure to find the appropriate testing guidance location. Done means the documentation clearly explains how to use mocks when testing and incorporates relevant guidance from the references.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation, testing
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100