A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-November/018564.html below:

[Python-Dev] order of unittest.TestCase execution?

[Python-Dev] order of unittest.TestCase execution? [Python-Dev] order of unittest.TestCase execution?Tim Peters tim.one@home.com
Mon, 12 Nov 2001 13:09:13 -0500
[Skip Montanaro]
> I'm trying to write a regression test for dumbdbm (well, officially I'm
> updating the current test, but it's taking a beating).  I'm unclear on
> the order of method execution.  Can I rely on multiple test methods
> to be run in alphabetical order?

You can but you shouldn't <wink>.  You can call run_unittest() more than
once, though!  Stick the thing you want to test first in its own class, and
run that unittest first.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4