Add tests using real WC

This commit is contained in:
Alex P 2022-06-15 21:37:10 +03:00
parent 02c84e43e0
commit 04aba8ceb1
14 changed files with 746 additions and 114 deletions

View file

@ -25,7 +25,9 @@
"ddev:install": "ddev composer install && yarn run ddev:build-js",
"ddev:build-js": "ddev yarn build:dev",
"ddev:composer-update": "ddev composer update && ddev composer update --lock",
"ddev:test": "ddev exec phpunit",
"ddev:unit-tests": "ddev exec phpunit",
"ddev:e2e-tests": "cp -n .env.e2e.example .env.e2e && ddev php tests/e2e/PHPUnit/setup.php && ddev exec phpunit -c tests/e2e/phpunit.xml.dist",
"ddev:test": "yarn run ddev:unit-tests && yarn run ddev:e2e-tests",
"ddev:lint": "yarn ddev:phpcs && yarn ddev:psalm",
"ddev:phpcs": "ddev exec phpcs --parallel=8 -s",
"ddev:psalm": "ddev exec psalm --show-info=false --threads=8 --diff",