Difference between revisions of "Python unit test"

From emboxit
Jump to: navigation, search
 
m (1 revision)
 
(No difference)

Latest revision as of 16:51, 11 September 2015

Python's unittest module, sometimes referred to as 'PyUnit', is based on the XUnit framework design 
by Kent Beck and Erich Gamma. The same pattern is repeated in many other languages, 
including C, Perl, Java, and Smalltalk. 
The framework implemented by unittest supports:
fixtures, test suites, and a test runner to enable automated testing for your code
The Python unit testing framework, sometimes referred to as “PyUnit,” is a Python language version of JUnit, 
by Kent Beck and Erich Gamma. JUnit is, in turn, a Java version of Kent’s Smalltalk testing framework. 
Each is the de facto standard unit testing framework for its respective language.