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

First, thank you to all of the PyDev developers for all of the hard work and
effort you've put into PyDev.  I've spent the better part of the last year using
PyDev under Windows and Linux, for several projects (big and small), and I'm
about to start another project using it.  This will be my second major project
using Django, and it is going to have a serious focus on unit testing.

PyDev has some marvelous support for running unit tests within Eclipse, and
reporting the test results using PyUnit.  Unfortunately, that support falls
apart if you want to run unit tests for Django applications, and I'm not certain
why.  Admittedly, Django does want to set up its environment (primarily to 
ensure
that test databases have been properly created and initialized) before starting
testing, but it still uses unittest (or nose) for testing, so it ought to be
possible to produce a test runner that will cope with Django tests.  The best
(only) way that I've found to run Django unit tests is to create a run 
configuration
that runs the  Django test runner.  While this works, it results in all of the
testing output going to the console, and nothing gets sent to the PyUnit window.

What I would like is the ability to run all (or some) of the unit tests in a
Django project, and see the results in the PyUnit window.  Perhaps then I'd
also get to see how well the code coverage tools work.

Presumably this would involve writing a Django-specific testrunner, but that
shouldn't be that hard, right?

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to