[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1165: runner tests should be executed first

Tahoe-LAFS trac at tahoe-lafs.org
Sat Jan 18 00:39:58 UTC 2020


#1165: runner tests should be executed first
-----------------------------+------------------------
     Reporter:  davidsarah   |      Owner:  davidsarah
         Type:  enhancement  |     Status:  closed
     Priority:  normal       |  Milestone:  soon
    Component:  code         |    Version:  1.8β
   Resolution:  wontfix      |   Keywords:  test easy
Launchpad Bug:               |
-----------------------------+------------------------
Changes (by exarkun):

 * status:  assigned => closed
 * resolution:   => wontfix


Old description:

> If trial is testing the wrong code, I'd like to know that quickly. So,
> what is now test_runner.py should execute first.
>
> ~~Also, it might be useful for trial to print out the result of
> {{{allmydata.get_package_versions_string(show_paths=True)}}} before
> starting the tests.~~ (done in #1296, for {{{python setup.py
> trial}}}/{{{test}}} and {{{bin/tahoe --version-and-path debug trial}}})

New description:

 If trial is testing the wrong code, I'd like to know that quickly. So,
 what is now test_runner.py should execute first.

 ~~Also, it might be useful for trial to print out the result of
 {{{allmydata.get_package_versions_string(show_paths=True)}}} before
 starting the tests.~~ (done in #1296, for {{{python setup.py
 trial}}}/{{{test}}} and {{{bin/tahoe --version-and-path debug trial}}})

--

Comment:

 I'm not sure what the proposed solution has to do with the implied
 problem.

 If Tahoe-LAFS is being developed in a virtualenv, as is common these days,
 there probably isn't really a problem now, either.

 Also, trial will run tests in whatever order you ask for on the command
 line (eg `trial allmydata.test.test_runner allmydata`, though this *will*
 probably run `test_runner` twice).

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


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