-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs to explain how WP_Mock TestCase is preferable to extend t…
…han 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 <[email protected]> Co-authored-by: Ryan Neudorf <[email protected]> Co-authored-by: Drew Jaynes <[email protected]>
- Loading branch information
1 parent
4249c87
commit 1bcc9a4
Showing
4 changed files
with
57 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters