Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")
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.
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.