I have a php project in subversion, with the typical /project/trunk/
, /project/test/
, /project/branches/
structure. I want to start writing some unit tests with PHPUnit. Where is a good place to store these files in version control?
If I put them in /project/unittests/
, I would have to check out the directory they test in parallel, so that's a little hassle that I have to make sure I do properly. If I keep them in the project, say at /project/trunk/unittests/
, then they will be there when I deploy the site, unless I have some extra hooks not to export them, or at least make sure my .htaccess doesn't allow serving them.