A very good thing about Magento 2 is that we put together all files inside the module itself. Layout XML, Templates, Less/Sass, Blocks, Models, Helpers, API, SQL scripts and everything. It's important because when we enable, disable or even delete the module everything lays on a single directory.
However, when I add a
@magentoDataFixture for an integration test, it says it should be placed on
dev/tests/integration/testsuite directory, and not on the module itself. The more directories, the more difficult to maintain. It looks like M1 with
skin directories where files became very far away from each other, in terms of tree directory.
* @magentoDataFixture MyNamespace/MyModule/_files/create_some_data_here.php
class CustomIntegrationTestTest extends AbstractController
Magento will look up on the directory:
and not somewhere like this:
@magentoDataFixture files be inside the module itself and not on default directory dev/tests/integration/testsuite?