On Fri, Aug 6, 2010 at 2:27 PM, Trevor Parscal tparscal@wikimedia.org wrote:
I think /tests/unit and /tests/acceptance would be reasonable places to put things, and if they are both within maintenance or in the root doesn't really matter to me.
Remember Selenium is a framework for doing acceptance testing, not unit testing. I don't quite see the purpose of specifying the framework name in our directory structure. Are we planning on using more than one unit or acceptance testing framework?
I think it's best to pick whatever term will be the most intelligible. The idea of unit tests is very widely known, so tests/unit/ should be readily understood by anyone who knows much about automated software testing at all. Would tests/selenium/ or tests/acceptance/ be more comprehensible to the average person? I had never heard the term "acceptance test" before now, and the Wikipedia article on it makes it sound like a pretty vague term.
Either way, we should probably throw parser tests in the same directory.