Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2719058b
Commit
2719058b
authored
Jan 03, 2011
by
Michael Foord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue 10502: addition of unittestgui to Tools/
parent
c7d9c832
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
509 additions
and
2 deletions
+509
-2
Doc/library/unittest.rst
Doc/library/unittest.rst
+7
-0
Misc/NEWS
Misc/NEWS
+4
-0
Tools/README
Tools/README
+5
-2
Tools/unittestgui/README.txt
Tools/unittestgui/README.txt
+16
-0
Tools/unittestgui/unittestgui.py
Tools/unittestgui/unittestgui.py
+477
-0
No files found.
Doc/library/unittest.rst
View file @
2719058b
...
...
@@ -97,6 +97,13 @@ need to derive from a specific class.
A special-interest-group for discussion of testing, and testing tools,
in Python.
The script :file:`Tools/unittestgui/unittestgui.py` in the Python source distribution is
a GUI tool for test discovery and execution. This is intended largely for ease of use
for those new to unit testing. For production environments it is recommended that
tests be driven by a continuous integration system such as `Hudson <http://hudson-ci.org/>`_
or `Buildbot <http://buildbot.net/trac>`_.
.. _unittest-minimal-example:
Basic example
...
...
Misc/NEWS
View file @
2719058b
...
...
@@ -107,6 +107,10 @@ Tools/Demos
demos have been removed, others integrated in documentation or a new
Tools/demo subdirectory.
- Issue #10502: Addition of the unittestgui tool. Originally by Steve Purcell.
Updated for test discovery by Mark Roddy and Python 3 compatibility by
Brian Curtin.
What's New in Python 3.2 Beta 2?
================================
...
...
Tools/README
View file @
2719058b
...
...
@@ -34,8 +34,11 @@ scripts A number of useful single-file programs, e.g. tabnanny.py
test2to3 A demonstration of how to use 2to3 transparently in setup.py.
unicode Tools used to generate unicode database files for
Python 2.0 (by Fredrik Lundh).
unicode Tools used to generate unicode database files (by Fredrik
Lundh).
unittestgui A Tkinter based GUI test runner for unittest, with test
discovery.
world Script to take a list of Internet addresses and print
out where in the world those addresses originate from,
...
...
Tools/unittestgui/README.txt
0 → 100644
View file @
2719058b
unittestgui.py is GUI framework and application for use with Python unit
testing framework. It executes tests written using the framework provided
by the 'unittest' module.
Based on the original by Steve Purcell, from:
http://pyunit.sourceforge.net/
Updated for unittest test discovery by Mark Roddy and Python 3
support by Brian Curtin.
For details on how to make your tests work with test discovery,
and for explanations of the configuration options, see the unittest
documentation:
http://docs.python.org/library/unittest.html#test-discovery
Tools/unittestgui/unittestgui.py
0 → 100644
View file @
2719058b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment