Skip to content

Commit 15da600

Browse files
committed
Improve local dev setup with Composer and PHPUnit in Docker container
- Remove dependency on globally installed Composer - Provide a way to install and run Composer and PHPUnit in the container created by wp-env - Start basic PHPUnit tests in addition to existing unit tests (using wp-now) and E2E tests (Playwright) - Document local dev/test/build setup
1 parent 338724a commit 15da600

File tree

9 files changed

+2150
-3
lines changed

9 files changed

+2150
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ node_modules
88
*.local.js
99

1010
# Ignore lock files to allow any package manager
11-
composer.lock
1211
package-lock.json
1312
yarn.lock
1413
bun.lockb

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"name": "tangible/framework"
2+
"name": "tangible/framework",
3+
"repositories": [],
4+
"require-dev": {
5+
"phpunit/phpunit": "^9.6",
6+
"yoast/phpunit-polyfills": "^2.0"
7+
},
8+
"require": {},
9+
"minimum-stability": "dev"
310
}

0 commit comments

Comments
 (0)