Skip to content

Commit b1de437

Browse files
committed
minor #631 Setting tests directory consistent with src directory structure (yceruto)
This PR was merged into the master branch. Discussion ---------- Setting tests directory consistent with src directory structure > By convention, the `tests/AppBundle` directory should replicate the directory of your bundle for unit tests. So, if you're testing a class in the `src/AppBundle/Util/` directory, put the test in the `tests/AppBundle/Util/` directory. (http://symfony.com/doc/current/testing.html) The future version of it for 3.4/4.0 would be: > By convention, the `tests/` directory should replicate your `src` directory for unit tests. So, if you're testing a class in the `src/Util/` directory, put the test in the `tests/Util/` directory. Nothing to update in `composer.json` as PSR-4 autoload-dev section already known about this. ```json "autoload-dev": { "psr-4": { "App\\Tests\\": "tests/" } }, ``` Commits ------- ebfe702 Being consistent with src structure
2 parents bcfdd4b + ebfe702 commit b1de437

File tree

7 files changed

+0
-0
lines changed

7 files changed

+0
-0
lines changed
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)