Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inpsyde/monkery-test-case
Composes all relevant packages for WP components unit testing
https://github.com/inpsyde/monkery-test-case
mockery php phpunit testing wordpress
Last synced: 10 days ago
JSON representation
Composes all relevant packages for WP components unit testing
- Host: GitHub
- URL: https://github.com/inpsyde/monkery-test-case
- Owner: inpsyde
- License: gpl-2.0
- Archived: true
- Created: 2016-03-10T12:21:52.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T12:34:51.000Z (10 months ago)
- Last Synced: 2025-01-17T09:53:38.443Z (16 days ago)
- Topics: mockery, php, phpunit, testing, wordpress
- Language: PHP
- Homepage:
- Size: 48.8 KB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Monkery test case
Composes all relevant packages for WP components unit testing ([brain/monkey](https://brain-wp.github.io/BrainMonkey/) and mockery) and provides test cases for PHPUnit that bootstrap Mockery and BrainMonkey. _Monkery_ is a portmanteau of Mockery and Monkey.
Installation:
```
composer require --dev inpsyde/monkery-test-case
```## Writing tests
```php