Skip to content

Commit

Permalink
Add PHPUnit bootstrap and configuration files, add Health Check tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Jan 27, 2025
1 parent 697409a commit 791c80b
Show file tree
Hide file tree
Showing 6 changed files with 2,636 additions and 224 deletions.
12 changes: 11 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
]
}
],

"scripts": {
"test": [
"phpunit --bootstrap tests/phpunit/bootstrap.php"
]
},
"scripts-descriptions": {
"test": "Run phpunit tests"
},
"require": {
"newfold-labs/wp-module-context": "^1.0",
"wp-forge/collection": "^1.0.2",
Expand All @@ -36,7 +45,8 @@
"newfold-labs/wp-module-installer": "^1.3.0"
},
"require-dev": {
"newfold-labs/wp-php-standards": "^1.2.4"
"newfold-labs/wp-php-standards": "^1.2.4",
"10up/wp_mock": "^1.0"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit 791c80b

Please sign in to comment.