This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add how to run a single test case to the devguide
Type: enhancement Stage: resolved
Components: Devguide Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, jesstess, python-dev
Priority: normal Keywords: easy, needs review, patch

Created on 2014-04-27 04:41 by jesstess, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
devguide.diff jesstess, 2014-04-27 04:41
Messages (2)
msg217239 - (view) Author: Jessica McKellar (jesstess) * (Python triager) Date: 2014-04-27 04:41
I had wanted to run a single TestCase, or single TestCase test method, and saw that how to do this wasn't in the devguide. Pattern-matching from the other rules doesn't work (for now, you have to use unittest instead of test), and asking on IRC, many people didn't know it was possible. :)

This patch adds documentation on how to run a single TestCase. I visually inspected the built HTML to confirm that it looks as desired.
msg217267 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-04-27 14:44
New changeset 6b912c90de72 by Benjamin Peterson in branch 'default':
say how to run one test (closes #21361)
http://hg.python.org/devguide/rev/6b912c90de72
History
Date User Action Args
2022-04-11 14:58:02adminsetgithub: 65560
2014-04-27 14:44:53python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg217267

resolution: fixed
stage: patch review -> resolved
2014-04-27 04:41:04jesstesscreate