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


Groups > comp.lang.python.announce > #2091

ANN: nose2pytest 1.0

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From oliver <oliver.schoenborn@gmail.com>
Newsgroups comp.lang.python.announce
Subject ANN: nose2pytest 1.0
Date Thu, 31 Mar 2016 00:04:10 -0400
Lines 19
Approved python-announce-list@python.org
Message-ID <mailman.245.1459412678.28225.python-announce-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de ksXLPI1tUnX0eh/3FJpejgvsNCiiZbVuSI7QO1FUIxew==
Return-Path <oliver.schoenborn@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.037
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'converts': 0.07; 'subject:ANN': 0.07; 'statements': 0.09; 'url:github': 0.09; 'nose': 0.16; 'pytest': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:1.0': 0.16; 'converted': 0.22; 'needed.': 0.23; 'written': 0.24; 'script': 0.25; 'appreciated.': 0.27; 'raw': 0.27; 'room': 0.27; 'message-id:@mail.gmail.com': 0.27; "i'm": 0.30; 'run': 0.33; 'useful': 0.33; 'curious': 0.33; 'received:google.com': 0.35; 'project': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'hosted': 0.36; 'others.': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:209': 0.38; 'feedback': 0.38; 'test': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.40; 'called': 0.40; 'skip:n 10': 0.62; 'to:no real name:2**2': 0.65; 'improvement.': 0.66; 'harness': 0.84; 'announcing': 0.91; 'sfxlen:1': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=xqT74kHpFOXpQmH9GZ1IgGooNsGpfQihLf/413UOH/Q=; b=Fp0agS7I+r8fpTMh8xg+7e455+CRjrEhPhiMn0U+rPQMmOQb4xtMpZlj8FEYxLQ0le DSMonXhVMMXE2bu1e+g5kGaDyg0XXV4k9CUgZu8z/fBkFj1DOy8BBlnjQYj5AlY+RDWp 3S1HafAKbJrcjLSY7g65a3iZZwBeHFCE9J+TSx4ZYINyWQAIYqD1btLFxh2Aq910XpSP t4lwaES7XfF+5vUi3UfjYPFWQyhqczk/RMpQFtoxxpWKZdJDh/YEA+FuDDYoJBTca9DS n67JMruCidmgbhJ2hrbW4vfMGpvNHPpaB5eD6fMUDicGSkrh80oxNe0CVVEC+rutmI6U RYGw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=xqT74kHpFOXpQmH9GZ1IgGooNsGpfQihLf/413UOH/Q=; b=LvM0iVvk4SAXv59O9M5Bkmx6kYTYo7RFoVPMPmB7SSv3Z4SCtchWPn+ascKSzx/lJw Wx4JX9T1IMuHytc6Rt69VD6W5pnT6Tj3iCLFXpKZIKhyAe8vOWtl6/MMOjtR6tcgQUmp bLPOUqPgYrGOcapdbBqzh//+P1Vltn71SmaY2P/Dlv41uZ410rduI75S8tYRKzFupO/A LymoP1+4DjvTZZffNax+Vn5vmANI01QL+cYvD/USyL4UHwMQdT5TeMCJaSS3D3SjrbQM diBERgzSTXYBcZJnIe7fgvaLdFivYmUZ2TmECvWtK4Er5kDFC2m1zYvo7AvNS4ep6oWZ nyJA==
X-Gm-Message-State AD7BkJKY3H8cQzQLhI+m4h6z9vtEr4+cPjYC9QElVA6AVUuTfinBRBqmN24UKRyhHCPWeuNq5yREytxfqX1a7g==
X-Received by 10.98.87.4 with SMTP id l4mr18455513pfb.15.1459397050219; Wed, 30 Mar 2016 21:04:10 -0700 (PDT)
X-Mailman-Approved-At Thu, 31 Mar 2016 04:24:36 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python.announce:2091

Show key headers only | View raw


Announcing a project hosted on GitHub called nose2pytest (
https://github.com/schollii/nose2pytest). This project helps migrate a test
suite that was written for Nose to work with pure pytest. It converts
nose.tools.assert_ functions into raw assert statements so you can better
(IMO) leverage pytest assertion introspection. It may even decrease test
suite dependencies by 1; after nose2test has been run on a test suite, it
is no longer needed.

The nose2pytest script has already successfully converted approximately
5000 assertions, so this is v1.0. However, there are many ways to harness
Nose functionality so I'm really curious to see if nose2test can be useful
to others.

I'm sure there is lots of room for improvement. Any feedback or
contributions would be much appreciated.

Regards,

Oliver

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

ANN: nose2pytest 1.0 oliver <oliver.schoenborn@gmail.com> - 2016-03-31 00:04 -0400

csiph-web