Hi

I think this is a very good idea. We already wanted to to this last year when we were playing a bit with unit testing but since we didn't have a clear structure back then (php / resources split) it was to hard to remove all the test folders for all tha packages. Now the architectural changes are finished and it's very easy to just add that folder.

Best regards
Sven

Op 2/02/11 11:43, Philippe Van Eerdenbrugghe schreef:
Hi all,

since we have now quite well identified what are the four kinds of "standalone packages" (apps, content_objects, video_conferencing and external_repo ) I'd like to propose a way for the authors of those packages to bundle their tests with it.

Could that be possible to add a standard subfolder "test" in addition to the standard "php" and "resources" folder we find in those packages.

That test folder could be architectured the way the core test folder is architectured :

a subfolder by kind of test : functional, unit, acceptance, performance (or maybe other ones)

a potential phpunit.xml file in the test folder configuring how phpunit should run those tests.


What do you think about that idea ?



_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev


--
Met vriendelijke groeten

Sven Vanpoucke
Digitaal Leren
Directie Onderwijs
Hogeschool Gent
http://digitaal-leren.hogent.be/


_______________________________________________
Dev mailing list
Dev@lists.chamilo.org
http://lists.chamilo.org/listinfo/dev

Reply via email to