[tor-bugs] #14944 [Stem]: Allow just a single test to be run
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Mar 6 22:09:48 UTC 2015
#14944: Allow just a single test to be run
-----------------------------+---------------------------
Reporter: atagar | Owner: atagar
Type: enhancement | Status: reopened
Priority: minor | Milestone:
Component: Stem | Version:
Resolution: | Keywords: testing, easy
Actual Points: | Parent ID:
Points: |
-----------------------------+---------------------------
Comment (by clv):
Hi atagar!
I checked on what you said and I just added a specific except for catching
`AttributeError` in
[https://github.com/leivaburto/stem/commit/a6486787f15f3934f4094d1c34c9ecbb932d85be
here].
For example, this will report '''no such test''':
* --all --test process.test_quiet_arguments (non existing method)
If there is an error in `process` test class, then this will report
'''failure''':
* --all --test process.test_quiet_argument
Reporting '''failures''' will occur before '''no such test''' as it first
try to load the module and then to look for the method.
Btw, my nick is clv (not with 'i' but 'l') :P
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14944#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list