Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-08 Thread Aryeh Gregor
On Fri, Aug 6, 2010 at 2:27 PM, Trevor Parscal 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, no

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-07 Thread Rob Lanphier
On Sat, Aug 7, 2010 at 3:35 PM, Trevor Parscal wrote: > I'm not /totally/ opposed to breaking away from the standard terminology > of unit/integration/acceptance testing... We could call it something > more descriptive than system though - perhaps "client"... Going with names like "unit" and "c

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-07 Thread Trevor Parscal
> > KIT - University of the State of Baden-Wuerttemberg and > National Research Center of the Helmholtz Association > > -Original Message- > From: wikitech-l-boun...@lists.wikimedia.org > [mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Trevor Parscal &

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-07 Thread Benedikt Kaempgen
to:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Trevor Parscal Sent: Friday, August 06, 2010 8:27 PM To: wikitech-l@lists.wikimedia.org Subject: Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions) I think /tests/unit and /tests/acceptance would be

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-06 Thread Trevor Parscal
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

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-06 Thread Dan Nessett
On Fri, 06 Aug 2010 12:38:39 -0400, Aryeh Gregor wrote: > On Thu, Aug 5, 2010 at 6:47 PM, Mark A. Hershberger > wrote: >> Can I suggest that the framework can see that an extension has tests >> simply by the presence of the /tests directory containing >> a *TestSuite.php file? > > IMO, the way p

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-06 Thread Aryeh Gregor
On Thu, Aug 5, 2010 at 6:47 PM, Mark A. Hershberger wrote: > Can I suggest that the framework can see that an extension has tests > simply by the presence of the /tests directory containing a > *TestSuite.php file? IMO, the way parser tests do it is smarter. When you install the extension, it ad

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-06 Thread Dan Nessett
On Thu, 05 Aug 2010 18:47:58 -0400, Mark A. Hershberger wrote: > Markus Glaser writes: > >> 1) Where are the tests located? I suggest for core to put them into >> maintenance/tests/selenium. That is where they are now. For extensions >> I propse a similar structure, that is /tests/selenium. > >

Re: [Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-05 Thread Chad
On Thu, Aug 5, 2010 at 6:47 PM, Mark A. Hershberger wrote: > Markus Glaser writes: > >> 1) Where are the tests located? I suggest for core to put them into >> maintenance/tests/selenium. That is where they are now. For extensions >> I propse a similar structure, that is /tests/selenium. > > Sound

[Wikitech-l] Testing Framework (was Selenium Framework - Question on coding conventions)

2010-08-05 Thread Mark A. Hershberger
Markus Glaser writes: > 1) Where are the tests located? I suggest for core to put them into > maintenance/tests/selenium. That is where they are now. For extensions > I propse a similar structure, that is /tests/selenium. Sounds fine. In the same way, since maintenance/tests contains tests that