Page 2 of 2
Posted: Thu Sep 15, 2005 5:27 pm
by McGruff
deltawing wrote:I will try to get back to it at some point though.
No problem. I've been hoping to have a go at some TDD sessions on the forums but I expect they'll take a while to follow through. I've got a site to transfer to a new host right now so I was kind of relieved not to find some difficult questions tonight.
Please do ask difficult questions though

We can keep it moving as time allows.
Posted: Thu Sep 15, 2005 5:47 pm
by McGruff
CoderGoblin wrote:Do you tend to also use this type of structure..
You can download a slice from my own library here:
http://www.sitepoint.com/forums/showpos ... stcount=15
It's all a bit experimental and hasn't been subjected to peer review, but it shows you how I've organised things. Library files - classes - are in aperi_lib. I put all the test cases in a "tests" folder with each category. The test runners are separated out so you don't have to put the library files under the web root.
I'm actually not sure what other people do, or if there's a standard way to organise things. If there is it might be better to follow that. I'll defer to Jason here.