• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

10up / wp_mock / 7498639761
66%
master: 52%

Build:
Build:
LAST BUILD BRANCH: trunk
DEFAULT BRANCH: master
Ran 12 Jan 2024 06:16AM UTC
Jobs 1
Files 22
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jan 2024 06:15AM UTC coverage: 66.445% (+0.1%) from 66.312%
7498639761

push

github

web-flow
Update docs to explain how WP_Mock TestCase is preferable to extend than PhpUnit's (#239)

<!--
Filling out the required portions of this template is mandatory. 
Any PR that does not include enough information to be reviewed may be
closed at a maintainers' discretion.
All new code requires associated documentation and unit tests.
-->

# Summary <!-- Required -->

Updates docs to make it clear that implementations should use WP_Mock
own `TestCase`, ideally, or at least provide teardown overrides.

### Closes: #238 

## Contributor checklist <!-- Required -->

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you are unsure about any of these, please ask for
clarification. We are here to help! -->

- [x] I agree to follow this project's [**Code of
Conduct**](https://github.com/10up/.github/blob/trunk/CODE_OF_CONDUCT.md).
- [x] I have updated the documentation accordingly 
- [x] I have added tests to cover changes introduced by this pull
request
- [x] All new and existing tests pass
### Reviewer checklist <!-- Required -->

<!-- The following checklist is for the reviewer: add any steps that may
be relevant while reviewing this pull request -->

- [ ] Code changes review
- [ ] Documentation changes review
- [ ] Doc examples should always reference WP_Mock own `TestCase`
- [ ] Unit tests pass
- [ ] Static analysis passes

---------

Co-authored-by: Ryan Neudorf <ryan.neudorf@gmail.com>
Co-authored-by: Ryan Neudorf <109976277+rneudorf-godaddy@users.noreply.github.com>
Co-authored-by: Drew Jaynes <113622064+ajaynes-godaddy@users.noreply.github.com>

499 of 751 relevant lines covered (66.44%)

2.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7498639761.1 12 Jan 2024 06:16AM UTC 22
66.44
GitHub Action Run
Source Files on build 7498639761
  • Tree
  • List 22
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1bcc9a4a on github
  • Prev Build on trunk (#7405155962)
  • Next Build on trunk (#7524764186)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc