Hi everyone,
I have read the section about testing of Yii2. It is quite useful even not finished yet. In normally, the folder struture for test in Yii2 is as below:
/
...
tests/
--codeception/
----acceptance/
----functional/
----unit/
------components/
------models/
I confuse how structure directory test for modules. Should I use
/
...
modules/
--myModule/
----tests/
------acceptance/
------functional/
------unit/
Or
/
...
tests/
--codeception/
----modules/
------myModule/
--------acceptance/
--------functional/
--------unit/
----------components/
----------models/
----acceptance/
----unctional/
----unit/
Or
/
...
tests/
--codeception/
----acceptance/
------modules/
--------myModule/
----functional/
modules/
myModule/
----unit/
------modules/
--------myModule/
----------models/
------components/
------models/
Which should be the best approach?