Commits on Source (2)
-
-
Grzegorz Rola authored
Devel tests See merge request wpdesk/plugin-template!2
Showing
- .gitlab-ci.yml 163 additions, 0 deletions.gitlab-ci.yml
- apigen.neon 28 additions, 0 deletionsapigen.neon
- composer.json 7 additions, 2 deletionscomposer.json
- composer.lock 2200 additions, 131 deletionscomposer.lock
- phpunit-integration.xml 21 additions, 0 deletionsphpunit-integration.xml
- phpunit-unit.xml 21 additions, 0 deletionsphpunit-unit.xml
- plugin-template.php 1 addition, 0 deletionsplugin-template.php
- tests/integration/bootstrap.php 22 additions, 0 deletionstests/integration/bootstrap.php
- tests/integration/wpdesk/test-plugin-template-factory.php 23 additions, 0 deletionstests/integration/wpdesk/test-plugin-template-factory.php
- tests/unit/bootstrap.php 23 additions, 0 deletionstests/unit/bootstrap.php
- tests/unit/wpdesk/test-plugin-template-factory.php 38 additions, 0 deletionstests/unit/wpdesk/test-plugin-template-factory.php
.gitlab-ci.yml
0 → 100644
apigen.neon
0 → 100644
... | ... | @@ -15,7 +15,8 @@ |
"squizlabs/php_codesniffer": "^3.0.2", | ||
"mockery/mockery": "^1.0", | ||
"10up/wp_mock": "^0.3", | ||
"wimg/php-compatibility": "^8" | ||
"wimg/php-compatibility": "^8", | ||
"apigen/apigen": "^4.1" | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
... | ... | @@ -23,6 +24,10 @@ |
} | ||
}, | ||
"scripts": { | ||
"phpcs": "vendor/bin/phpcs" | ||
"test": "echo composer is alive", | ||
"phpcs": "phpcs", | ||
"phpunit-unit": "phpunit --configuration phpunit-unit.xml", | ||
"phpunit-integration": "phpunit --configuration phpunit-integration.xml", | ||
"docs": "apigen generate" | ||
} | ||
} |
This diff is collapsed.
phpunit-integration.xml
0 → 100644
phpunit-unit.xml
0 → 100644
tests/integration/bootstrap.php
0 → 100644
tests/unit/bootstrap.php
0 → 100644