sitrunlab / LearnZF2

Learn ZF2 Website
http://learnzf2.sitrun-tech.com/
BSD 3-Clause "New" or "Revised" License
19 stars 14 forks source link

[rcf] test folder structure #92

Closed samsonasik closed 9 years ago

samsonasik commented 9 years ago

in favor of #86 , I propose change test folder structure like this :

module
   Application
         test
            phpunit
                 ApplicationTest
                 Bootstrap.php
                 phpunit.xml
            Codeception
                 tests
                 codeception.yml 

So, we collect phpunit and Codeception test in each individual folder. I only can think about Codeception only for web acceptance for now and still using "native" phpunit as unit tests framework. We can move unit tests that using phpunit into codeception in major version if applicable. what do you think ?

acelaya commented 9 years ago

I like your purpose. I think it will be well organized that way.

samsonasik commented 9 years ago

ok, thank you. I have milestoned to 0.1.1 as .travis.yml and phpunit tests in master will be roughly changed, and there is phpunit test that in develop but not yet in master. so only applicable after develop merged to master ;).

samsonasik commented 9 years ago

0.0.3 milestone finished and tagged : https://github.com/sitrunlab/LearnZF2/releases/tag/0.0.3 0.1.0 milestone finished too and tagged : https://github.com/sitrunlab/LearnZF2/releases/tag/0.1.0

As develop now merged to master too, I think this test folder re-structure can be implemented ;)

samsonasik commented 9 years ago

I create PR #103 for it ;)