mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 09:30:58 +00:00
[DX] Moved application API tests to /tests/
This commit is contained in:
parent
258c6ea40e
commit
2a8e1b658a
68 changed files with 33 additions and 23 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
>
|
>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Sylius Test Suite">
|
<testsuite name="Sylius Test Suite">
|
||||||
<directory>src/*/Bundle/*Bundle/Tests</directory>
|
<directory>tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
|
|
@ -17,16 +17,4 @@
|
||||||
<server name="KERNEL_CLASS_PATH" value="/app/TestKernel.php" />
|
<server name="KERNEL_CLASS_PATH" value="/app/TestKernel.php" />
|
||||||
<server name="IS_DOCTRINE_ORM_SUPPORTED" value="true" />
|
<server name="IS_DOCTRINE_ORM_SUPPORTED" value="true" />
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
<filter>
|
|
||||||
<whitelist>
|
|
||||||
<directory>src</directory>
|
|
||||||
<exclude>
|
|
||||||
<directory>src/*/*Bundle/Resources</directory>
|
|
||||||
<directory>src/*/*Bundle/Tests</directory>
|
|
||||||
<directory>src/*/Bundle/*Bundle/Resources</directory>
|
|
||||||
<directory>src/*/Bundle/*Bundle/Tests</directory>
|
|
||||||
</exclude>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/orm": "^2.4",
|
"doctrine/orm": "^2.4",
|
||||||
"phpspec/phpspec": "^2.4",
|
"phpspec/phpspec": "^2.4",
|
||||||
"phpunit/phpunit": "~3.7",
|
"phpunit/phpunit": "^4.8",
|
||||||
"symfony/form": "^2.7",
|
"symfony/form": "^2.7",
|
||||||
"twig/twig": "^1.0"
|
"twig/twig": "^1.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"matthiasnoback/symfony-dependency-injection-test": "^0.7.6",
|
"matthiasnoback/symfony-dependency-injection-test": "^0.7.6",
|
||||||
"phpspec/phpspec": "^2.4",
|
"phpspec/phpspec": "^2.4",
|
||||||
"phpunit/phpunit": "^4.1",
|
"phpunit/phpunit": "^4.8",
|
||||||
"symfony/form": "^2.7",
|
"symfony/form": "^2.7",
|
||||||
"twig/twig": "^1.0"
|
"twig/twig": "^1.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
11
src/Sylius/Bundle/CoreBundle/.gitignore
vendored
11
src/Sylius/Bundle/CoreBundle/.gitignore
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
vendor/
|
/vendor/
|
||||||
bin/
|
/bin/
|
||||||
|
|
||||||
composer.phar
|
/composer.phar
|
||||||
composer.lock
|
/composer.lock
|
||||||
|
|
||||||
|
/phpunit.xml
|
||||||
|
/phpspec.yml
|
||||||
|
|
|
||||||
|
|
@ -64,11 +64,9 @@
|
||||||
"winzou/state-machine-bundle": "~0.2"
|
"winzou/state-machine-bundle": "~0.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"matthiasnoback/symfony-dependency-injection-test": "^0.7",
|
||||||
"phpspec/phpspec": "^2.4",
|
"phpspec/phpspec": "^2.4",
|
||||||
"fzaninotto/faker": "~1.2",
|
"phpunit/phpunit": "^4.8"
|
||||||
"symfony/form": "^2.7",
|
|
||||||
"lakion/api-test-case": "^1.0@dev",
|
|
||||||
"coduo/php-matcher": "^2.1@dev"
|
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"sylius/web-bundle": "Provides default web interface",
|
"sylius/web-bundle": "Provides default web interface",
|
||||||
|
|
|
||||||
21
src/Sylius/Bundle/CoreBundle/phpunit.xml.dist
Normal file
21
src/Sylius/Bundle/CoreBundle/phpunit.xml.dist
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||||
|
backupGlobals="false"
|
||||||
|
colors="true"
|
||||||
|
bootstrap="vendor/autoload.php"
|
||||||
|
>
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Sylius Test Suite">
|
||||||
|
<directory>./Tests</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>./Tests</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
</phpunit>
|
||||||
Loading…
Add table
Reference in a new issue