Optimized test structure

This commit is contained in:
Kevin Frantz 2018-09-05 19:12:57 +02:00
parent 5e70b0cadb
commit 56adc559e3
4 changed files with 7 additions and 4 deletions

View File

@ -18,8 +18,8 @@
</php>
<testsuites>
<testsuite name="Functional Test Suite">
<directory>tests/</directory>
<testsuite name="Integration Test Suite">
<directory>./integration/</directory>
</testsuite>
<testsuite name="Unit Test Suite">
<directory>./src/</directory>

View File

View File

@ -1,7 +1,10 @@
<?php
namespace App\Controller;
namespace App\Tests\Unit\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use App\Controller\DefaultControllerInterface;
use App\Controller\DefaultController;
/**
*

View File

@ -1,5 +1,5 @@
<?php
namespace App\Controller;
namespace App\Tests\Unit\Controller;
use PHPUnit\Framework\TestCase;
use App\Controller\UserController;