[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3285: Run integration tests from one file

Tahoe-LAFS trac at tahoe-lafs.org
Tue Mar 10 16:30:25 UTC 2020


#3285: Run integration tests from one file
-----------------------------+-----------------------
     Reporter:  sajith       |      Owner:  sajith
         Type:  enhancement  |     Status:  closed
     Priority:  minor        |  Milestone:  undecided
    Component:  unknown      |    Version:  n/a
   Resolution:  fixed        |   Keywords:
Launchpad Bug:               |
-----------------------------+-----------------------
Changes (by Sajith Sasidharan <sajith@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"bcfd3a5eb88f0990a7ce17fc6c6267a9fce879c3/trunk"
 bcfd3a5e/trunk]:
 {{{
 #!CommitTicketReference repository="trunk"
 revision="bcfd3a5eb88f0990a7ce17fc6c6267a9fce879c3"
 Pass posargs to py.test when running integration tests

 Running "tox -e integration" takes a while.  It would be helpful to
 run tests from just one file.  With this change, we can do that, like
 so:

   $ tox -e integration -- integration/test_web.py

 Or even just one test, like so:

   $ tox -e integration -- integration/test_web.py::test_index

 With this investigating failing integration tests will be a little
 easier, hopefully.

 Fixes: ticket:3285
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3285#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list