forked from 10up/wp_mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
47 lines (47 loc) · 948 Bytes
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "10up/wp_mock",
"description": "A mocking library to take the pain out of unit testing for WordPress",
"license": "GPL-2.0-or-later",
"version": "0.4.2",
"require": {
"php": ">=7.3 < 9.0",
"phpunit/phpunit": "^9.5.24",
"mockery/mockery": "^1.5",
"antecedent/patchwork": "^2.1"
},
"require-dev": {
"behat/behat": "^v3.11.0",
"sebastian/comparator": "^4.0.8",
"php-coveralls/php-coveralls": "^v2.5.2",
"sempro/phpunit-pretty-print": "^1.4"
},
"autoload": {
"psr-4": {
"WP_Mock\\": "./php/WP_Mock"
},
"classmap": [
"php/WP_Mock.php"
]
},
"config": {
"platform": {
"php" : "7.3"
}
},
"autoload-dev" : {
"classmap": ["tests"]
},
"scripts": {
"test:behat": "behat",
"test:phpunit": "phpunit",
"test:phpunitcov": "phpunit --coverage-clover build/logs/clover.xml",
"test": [
"@test:behat",
"@test:phpunit"
],
"coverage": [
"@test:behat",
"@test:phpunitcov"
]
}
}