Python-based Unit Testing Framework: Difference between revisions

From GM-RKB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
An [[Python-based Unit Testing Framework]] is an [[Unit Testing Framework]] for [[Python code]].
An [[Python-based Unit Testing Framework]] is an [[unit testing framework]] for [[Python code]].
* <B>Example(s):</B>
* <B>Example(s):</B>
** [[unittest]].
** [[unittest]].
* <B>Counter-Example(s):</B>
* <B>Counter-Example(s):</B>
** a [[Java-based Unit Testing Framework]]
** a [[Java-based Unit Testing Framework]].
* <B>See:</B> [[Unit Testing]], [[Unit Test]], [[Test Automation Framework]], [[Unit Testing Framework]].
* <B>See:</B> [[Unit Testing]], [[Unit Test]], [[Test Automation Framework]], [[Unit Testing Framework]].
----
----

Revision as of 21:18, 19 August 2020

An Python-based Unit Testing Framework is an unit testing framework for Python code.



References

2018

Name xUnit Generators Fixtures Group Fixtures Source Remarks
Autotest Yes Yes [1] Used for Linux kernel testing
unittest Yes Yes Yes No (sometimes referred to as "PyUnit"), has been included in Python standard library from Python version 2.1.[2]
XPyUnit adding XML report generation to PyUnit
TestOOB an extended test framework for PyUnit
Doctest easy, Pythonic, and part of Python's standard library
Nose Yes Yes Yes [3] a discovery-based unittest extension
pytest Yes Yes Yes Yes [4] Distributed testing tool. Can output to multiple formats, like the TAP format, JUnit XML or SubUnit.
TwistedTrial Yes Yes Yes No [5] PyUnit extensions for asynchronous and event-driven code
Should DSL Yes Yes Yes Yes [6] Distributed testing tool
Green Yes Yes Yes No [7] Python test runner.