Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81770

Re: Need Help

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fabiofz@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'beginner': 0.05; 'say,': 0.05; 'see:': 0.07; 'tests.': 0.07; 'output,': 0.09; 'tests,': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'python': 0.11; '-&gt;': 0.16; 'cc:name:python list': 0.16; 'csv': 0.16; 'dump': 0.16; 'exported': 0.16; 'fabio': 0.16; 'guys,': 0.16; 'nose': 0.16; 'pytest': 0.16; 'url:pydev': 0.16; 'folder': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'help.': 0.21; 'tests': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; 'pass': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'xml': 0.29; "doesn't": 0.30; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'txt': 0.31; 'file': 0.32; 'run': 0.32; 'skip:u 20': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'revert': 0.36; 'shows': 0.36; 'url:org': 0.36; 'should': 0.36; 'easily': 0.37; 'does': 0.39; 'how': 0.40; 'show': 0.63; 'subject:Need': 0.64; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'details': 0.65; 'answer.': 0.68; 'results': 0.69; 'export': 0.74; 'that)': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=2VxR9v43Y797XkwX+D6uWSQ4bbaN3sTHOpHH9/mHXkI=; b=tbXrJt8RnFMLZBMMGnOr+FQ81FW3UCG6P8hwJRYy0EORwmUU0zlL+N2NxU9oWs2WgM 2Yk1I+Bb+M/Bu14+Zdj5roHFoPlOXiZR+45BPgnG9s475CB0Y5JPYDsrvdOJQip1CPkJ 6wXQlEYr+38jNT95s31U+oJEEozVN+TgxMCiDieBHVrO24hymKIZLqpiQxJnFBaT8m0w kVw7XsBkxBdOlN9IF/wqGua+jjOCbM92KrFR2ypv6b8UIPT14cKkqx+3+6QQUp9aLTtx AUMMh1wnBFITBX0YE9UDBywBborUWKd6Ur5kKCLRyqi04e6qrQJwO8tPJNvLdQj1bUMk eMyg==
X-Received by 10.182.120.10 with SMTP id ky10mr36262893obb.68.1417460351891; Mon, 01 Dec 2014 10:59:11 -0800 (PST)
MIME-Version 1.0
In-Reply-To <CAAM3ZgbQGcDKdvZjFWq4vwcXirhh9eLM929-XdVbHGfTcLLX_Q@mail.gmail.com>
References <CAAM3ZgbQGcDKdvZjFWq4vwcXirhh9eLM929-XdVbHGfTcLLX_Q@mail.gmail.com>
From Fabio Zadrozny <fabiofz@gmail.com>
Date Mon, 1 Dec 2014 16:58:50 -0200
Subject Re: Need Help
To Ezhilarasan Chandrasekar <aezhil90@gmail.com>
Content-Type multipart/alternative; boundary=089e0139fc28c1ff1305092c3401
Cc python list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16466.1417460354.18130.python-list@python.org> (permalink)
Lines 83
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417460354 news.xs4all.nl 2962 [2001:888:2000:d::a6]:41535
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81770

Show key headers only | View raw


[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 comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Need Help Fabio Zadrozny <fabiofz@gmail.com> - 2014-12-01 16:58 -0200

csiph-web