Added a PSR-4 namespaced tests/php folder for tests written against new code in the src directory
This commit is contained in:
parent
1b2f5ab4ad
commit
04ec11e90b
|
@ -43,6 +43,11 @@
|
|||
"Automattic\\WooCommerce\\": "src/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Automattic\\WooCommerce\\Tests\\": "tests/php/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"post-install-cmd": [
|
||||
"sh ./bin/package-update.sh"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<testsuites>
|
||||
<testsuite name="WooCommerce Test Suite">
|
||||
<directory suffix=".php">./tests/legacy/unit-tests</directory>
|
||||
<directory suffix=".php">./tests/php</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# Placeholder to include the folder. Remove once tests have been written!
|
Loading…
Reference in New Issue