The following forum message was posted by piotr_dobrogost at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4811846:

Could http://stackoverflow.com/questions/3121107/is-test-suite-deprecated-in-pyu
nit/7368528#7368528 be the answer?

[quote]In addition to Mark's answer, one more reason to build your own suite()
is if you are dynamically building tests.

Also, it took me a while to figure out how to get PyDev to pick up the suite
and run it in the graphical test runner. The trick is to put in a method like
so:

[code]def load_tests(loader, tests, pattern):
    return suite()
[/code]
Such a method gets picked up the graphical test runner.
[/quote]

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to