You are here: Re: PHPUnit 3 « PHP Programming Language « IT news, forums, messages
Re: PHPUnit 3

Posted by Willem Bogaerts on 05/21/07 12:26

> I searched for best practises for php apps, especially if you're using
> phpunit as testframework.
>
> I found nothing interesting, so I ask you, what do you think is a best
> practise on directory hierarchy.

I usually have some kind of administrator directory with a password on
it. My unit tests can be run from there. Off course, the tests
themselves are outside of the web root, as they do not contain any file
that should be called directly. There is one exception (which can be
found in subdirectories of admin): I sometimes add documentation to my
tests in the form of an UML scheme.

For a demo, see http://www.w-p.dds.nl/storyboard/admin/rununittests.php

Best regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация