Hi Leo, On Thu, Nov 26, 2009 at 2:01 PM, Leo Soto M. <[email protected]> wrote: > Hello, > > I'm in the process of "rebasing" my Django support prototype done in > March to the current development version. This time I'm aiming a bit > higher, which means that I'd love to see the code on Pydev itself. > Which means that I need to polish the code a lot and write *tests* for > it. And make sure I'm not breaking anything, of course :) > > So here is my question: > > How is the PyDev test suite supposed to be ran? > > Right now I'm running the JUnit suite from > org.python.pydev.runalltests.AllTests but I'm getting lots of errors > (~250). Some of them are surely due to not having Python3 nor > IronPython on my system but still, I'd like to know if I'm running the > test suite in the right way. > > BTW, I had to run the suite as "JUnit Test" and not as a "JUnit > Plug-in Test" since the last one isn't working at all for me (but > seems like a OSX/JDK specific problem.
That's the correct way to run them -- the one to run is \com.python.pydev.runalltests\src\com\python\pydev\runalltests2\AllTests.java -- and the AllWorkbenchTests needs to be run as a Plug-in test (but that one is kind of brittle right now because of some threading issues). Cheers, Fabio ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ pydev-code mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-code
