Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81770 > unrolled thread
| Started by | Fabio Zadrozny <fabiofz@gmail.com> |
|---|---|
| First post | 2014-12-01 16:58 -0200 |
| Last post | 2014-12-01 16:58 -0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Need Help Fabio Zadrozny <fabiofz@gmail.com> - 2014-12-01 16:58 -0200
| From | Fabio Zadrozny <fabiofz@gmail.com> |
|---|---|
| Date | 2014-12-01 16:58 -0200 |
| Subject | Re: Need Help |
| Message-ID | <mailman.16466.1417460354.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
On Mon, Dec 1, 2014 at 11:05 AM, Ezhilarasan Chandrasekar < aezhil90@gmail.com> wrote: > Hi Guys, > > I'm a beginner of python, I just want your help. > > I'm using the Python in Pydev - Eclipse. > > How can I get the Failure values from the Console in to a txt or a csv > file? > > And how can I get the final result of the TC (lets say, OK or FAIL or > ERROR)? > > So that If I'm working with 1000 Test cases, I can easily find out the > Failed TCs and work on them. > > Please find my above questions and revert me with a good answer. > > Well, you want that to work/rerun the failed tests, PyDev does have a unittest-integration view which shows failed tests. Just run the tests right-clicking a folder -> run tests and the view should show the results (and it provides a way to show only failed tests, rerun only failures, see output, etc) -- see: http://pydev.org/manual_adv_pyunit.html The only thing is that it doesn't export that to a file... if you want to have that as an exported file, my suggestion would be using nose or pytest (which can also be used as the runners inside of PyDev -- http://pydev.org/manual_adv_pyunit.html also has more details on that) and pass a xml dump file (which I think both support). Cheers, Fabio
Back to top | Article view | comp.lang.python
csiph-web