Re: only running specific unit tests ?

2013-01-24 Thread Jasper
My setup is very similar to yours, I think it works well. If you want to share code between the suites, have your tests inherit from superclasses which contain the necesarry setups. I.e MyApp.myapp. ControllerTestcase import ControllerTestcase UserControllerTestcase(ControllerTestcase)

only running specific unit tests ?

2013-01-23 Thread Jonathan Vanasco
does anyone have a suggestion on how to (re)structure my tests packages/modules so i can use the --test-suite=NAME argument to setup.py ? -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: only running specific unit tests ?

2013-01-23 Thread Jonathan Vanasco
i should add... originally my structure was: MyApp/myapp/tests now i have: MyApp/myapp/tests MyApp/myapp/tests_a MyApp/myapp/tests_b and i run like python setup.py test --test-suite=myapp.tests_a the problem is that i feel like i'm duplicating a lot of the setup across these

Re: only running specific unit tests ?

2013-01-23 Thread Petr Blahos
Perhaps you could use nose Attrib plugin? https://nose.readthedocs.org/en/latest/plugins/attrib.html (I haven't got down to it yet, but I want to use it for a similar purpose). -- Petr On Thu, Jan 24, 2013 at 2:00 AM, Jonathan Vanasco jonat...@findmeon.comwrote: i should add... originally