PyUnit
Encyclopedia
PyUnit is the standard unit testing
framework module for Python
, described as a Python version of JUnit
. It is now part of Python's standard library (as the unittest module). The author is Steve Purcell.
Unit test
In computer programming, unit testing is a method by which individual units of source code are tested to determine if they are fit for use.A unit is the smallest testable part of an application. In procedural programming a unit could be an entire module but is more commonly an individual function...
framework module for Python
Python (programming language)
Python is a general-purpose, high-level programming language whose design philosophy emphasizes code readability. Python claims to "[combine] remarkable power with very clear syntax", and its standard library is large and comprehensive...
, described as a Python version of JUnit
JUnit
JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks collectively known as xUnit that originated with SUnit....
. It is now part of Python's standard library (as the unittest module). The author is Steve Purcell.
External links
- Sourceforge site. PyUnit is now in the Python standard library as module 'unittest'. Use the sources here for old (pre-2.1) versions of Python.
- Official documentation
- Tutorials from Dive into Python http://ccn.ucla.edu/tutorials/diveintopython/
- TestOOB extends PyUnit with extra functionality
- XPyUnit adds XMLXMLExtensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
report generation to PyUnit