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


Groups > comp.lang.python > #95525

Re: Parametrized Unit Tests

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'advance': 0.10; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'responses.': 0.16; 'laura': 0.18; 'tests.': 0.18; 'tests': 0.18; 'library': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'cc:2**1': 0.22; "aren't": 0.22; 'passing': 0.23; 'requests': 0.25; 'testing': 0.25; 'fri,': 0.27; 'parameters': 0.27; 'question': 0.27; 'url:moin': 0.27; '-0700,': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'there.': 0.30; 'url:wiki': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; "isn't": 0.35; 'supports': 0.35; 'unit': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'framework': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'things': 0.38; 'integration': 0.38; 'test': 0.39; 'your': 0.60; 'header:Message-Id:1': 0.61; 'more': 0.63; 'here:': 0.63; 'developed': 0.66; 'url:2014': 0.66; 'url:lists': 0.66; 'received:89': 0.80; 'header:In-reply-to:1': 0.84; 'responses': 0.93
To rambius <rambiusparkisanius@gmail.com>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: Parametrized Unit Tests
In-reply-to <f2d05b33-8755-4270-9bf4-b0b6153d13f7@googlegroups.com>
References <f2d05b33-8755-4270-9bf4-b0b6153d13f7@googlegroups.com>
Comments In-reply-to rambius <rambiusparkisanius@gmail.com> message dated "Fri, 21 Aug 2015 08:17:32 -0700."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <3479.1440171746.1@fido>
Content-Transfer-Encoding quoted-printable
Date Fri, 21 Aug 2015 17:42:26 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Fri, 21 Aug 2015 17:42:30 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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.10.1440171757.13558.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1440171757 news.xs4all.nl 23784 [2001:888:2000:d::a6]:59467
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95525

Show key headers only | View raw


In a message of Fri, 21 Aug 2015 08:17:32 -0700, rambius writes:
>Although I developed these tests as unit tests they are more of integration tests. Is there an integration testing framework that supports a more convenient passing of test parameters / data?
>
>Thank you in advance for your responses.
>
>Regards
>Rambius

Many. https://wiki.python.org/moin/PythonTestingToolsTaxonomy isn't
a bad place to start looking, but things have been developed which
aren't there.  ie responses 
http://cramer.io/2014/05/20/mocking-requests-with-responses/
nice thing for mocking requests, if you are using the requests
library ...


You may get a better response if you try that question over here:
http://lists.idyll.org/listinfo/testing-in-python

Laura

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


Thread

Parametrized Unit Tests rambius <rambiusparkisanius@gmail.com> - 2015-08-21 08:17 -0700
  Re: Parametrized Unit Tests Laura Creighton <lac@openend.se> - 2015-08-21 17:42 +0200
  Re: Parametrized Unit Tests Ben Finney <ben+python@benfinney.id.au> - 2015-08-22 11:42 +1000
    Re: Parametrized Unit Tests rambius <rambiusparkisanius@gmail.com> - 2015-08-27 07:38 -0700
      Re: Parametrized Unit Tests Ben Finney <ben+python@benfinney.id.au> - 2015-08-28 09:46 +1000
        OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Steven D'Aprano <steve@pearwood.info> - 2015-08-28 16:26 +1000
          Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Martin Skjöldebrand <martin@skjoldebrand.eu> - 2015-08-28 09:19 +0200
          Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Ben Finney <ben+python@benfinney.id.au> - 2015-08-28 17:27 +1000
            Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Marko Rauhamaa <marko@pacujo.net> - 2015-08-28 12:24 +0300
              Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] jmp <jeanmichel@sequans.com> - 2015-08-28 11:47 +0200
          Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Steven D'Aprano <steve@pearwood.info> - 2015-08-29 00:02 +1000
            Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Chris Angelico <rosuav@gmail.com> - 2015-08-29 01:07 +1000
          Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Michael Torrie <torriem@gmail.com> - 2015-08-28 14:00 -0600
          Re: OFF-TOPIC Ben's sig monster quote [was Re: Parametrized Unit Tests] Rustom Mody <rustompmody@gmail.com> - 2015-08-29 21:34 -0700

csiph-web