Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add guidelines around test mocking

Open
#114 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet

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.

Description

category-documentation github-migration-triaged team-wallet-framework wf-documentation

We should add guidance on how to use mocks when testing.

Some ideas for inspiration:

Dominant language
JavaScript
Stars
87
Forks
43
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from MetaMask/contributor-docs

All issues in MetaMask/contributor-docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.