Re: best ways to test ?

2009-04-10 Thread Marius Gedminas
(Resending, since Google Groups is in a snit and didn't want to accept my primary email address, insisting I use the @gmail.com one.) On Wed, Apr 08, 2009 at 08:25:49AM -0700, Jonathan Vanasco wrote: I've found unit-testing to be not worth it -- it always passes, but I find tons of errors on

Re: best ways to test ?

2009-04-10 Thread Wichert Akkerman
Previously Marius Gedminas wrote: Testing JavaScript is a bit harder. I've seen how people integrate JavaScript *unit* tests into their py.test test suite, and I've used those ideas to define a unittest.TestCase subclass that spawns a browser window and drives it to run JsUnit-compatible

Re: best ways to test ?

2009-04-10 Thread Jonathan Vanasco
this is pretty neat - i didn't know you could drive selenium through python/unittest. that would do exactly what i need! and yes, a balance of unit tests and integrated/functional is the best mix. --~--~-~--~~~---~--~~ You received this message because you are

Re: best ways to test ?

2009-04-09 Thread Fernando Aramendi
selenium? for integration you could try using the python client driver http://seleniumhq.org/projects/remote-control/languages/python.html On Wed, Apr 8, 2009 at 12:25 PM, Jonathan Vanasco jonat...@findmeon.comwrote: I've found unit-testing to be not worth it -- it always passes, but I find

best ways to test ?

2009-04-08 Thread Jonathan Vanasco
I've found unit-testing to be not worth it -- it always passes, but I find tons of errors on the integration w/sessions and html side. does anyone have good pointers for automating that sort of testing , and integrating it into the pylons suite?