WordPress API Mocking Framework

Is 10up/wp_mock beginner-friendly?

We have not seen enough recent pull requests from outside contributors to 10up/wp_mock to say how often they are merged. No beginner-friendly issue is open right now; the list below has the other issues we hold for it.

Stars
714
Forks
72
Open beginner issues
0
Indexed issues
9
Dominant language
PHP
License
No license data
Last GitHub push
Dec 2, 2025
Latest indexed
Sep 14, 2026
Contributing guide
Contributing guide
Code of conduct
Code of conduct
Beginner labels
help wanted
PR merge metrics
No merged PRs in 30d

How to contribute to 10up/wp_mock

  1. Read the contributing guide first: it says how the maintainers want changes proposed, tested and reviewed.
  2. Read its code of conduct: it covers issues and pull requests as well as chat.
  3. Follow the repository to hear when a new beginner-friendly issue opens, or look through the other issues below.

Issues somebody may already be working on are listed last. List everything by date

  • Compatibility with PHPUnit 10
    Open
    Dependencies PHPUnit

    Difficulty 5/5 Over a week Newbie friendliness 30/100

    10up/wp_mock#232 · 14 comments · 3 reactions ·

  • Unable to mock function to return an empty array.
    Open

    Difficulty 3/5 1-2 days Newbie friendliness 45/100

    10up/wp_mock#173 · 2 comments ·

  • Feature Request: A wp-cli command similar to scaffold plugin-tests
    May be free again @ericmann claimed this 3274 days ago, and no pull request is open. Open
    Enhancement

    10up/wp_mock#114 · 5 comments · 1 assignee ·

  • Using wp_mocks together with WordPress core Unit tests
    May be free again @ericmann claimed this 3467 days ago, and no pull request is open. Open
    Documentation Help Wanted

    10up/wp_mock#49 · 4 comments · 3 reactions · 1 assignee ·

  • `expectActionAdded( array( Functions::type( class-string ), 'method' ) )` fails when same method name used twice
    Possibly taken @faisalahammad claimed this 126 days ago. Open

    Difficulty 3/5 1-2 days Newbie friendliness 50/100

    10up/wp_mock#268 · 2 comments · 1 reaction ·

  • PHPCS reporting error on dependent library nikic/php-parser, hamcrest/hamcrest-php
    Possibly taken @faisalahammad claimed this 126 days ago. Open
    Dependencies

    Difficulty 4/5 3-5 days Newbie friendliness 25/100

    10up/wp_mock#251 · 1 comment ·

  • Request: control Strict Mode per test
    Possibly taken @BrianHenryIE claimed this 310 days ago. Open

    Difficulty 3/5 1-2 days Newbie friendliness 45/100

    10up/wp_mock#249 · 3 comments ·

  • Pass in Closure for Hooks
    Possibly taken @faisalahammad claimed this 126 days ago. Open
    Enhancement Question

    Difficulty 3/5 1-2 days Newbie friendliness 35/100

    10up/wp_mock#235 · 4 comments ·

  • Add expectHookRemoved and expectHookNotRemoved support
    Possibly taken @ericmann claimed this 2112 days ago. Open
    Enhancement Help Wanted

    10up/wp_mock#157 · 1 assignee ·

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.