Python-based Unit Testing Framework: Difference between revisions

From GM-RKB
Jump to navigation Jump to search
No edit summary
m (Text replacement - " "[[" to " “[[")
 
Line 21: Line 21:
| Autotest || {{Yes}} || || {{Yes}} || ||<ref>{{cite web | url=https://autotest.github.io/ | title=Autotest - Fully automated testing under linux}}</ref> || Used for Linux kernel testing
| Autotest || {{Yes}} || || {{Yes}} || ||<ref>{{cite web | url=https://autotest.github.io/ | title=Autotest - Fully automated testing under linux}}</ref> || 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.<ref>{{cite web|url=https://docs.python.org/2/library/unittest.html|title=25.3. unittest – Unit testing framework – Python 2.7.10 documentation|work=python.org|accessdate=23 June 2015}}</ref>
| unittest || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || || (sometimes referred to as [[PyUnit]]"), has been included in Python standard library from Python version 2.1.<ref>{{cite web|url=https://docs.python.org/2/library/unittest.html|title=25.3. unittest – Unit testing framework – Python 2.7.10 documentation|work=python.org|accessdate=23 June 2015}}</ref>
|-
|-
| XPyUnit || || || || || || adding [[XML]] report generation to [[PyUnit]]
| XPyUnit || || || || || || adding [[XML]] report generation to [[PyUnit]]

Latest revision as of 19:21, 5 July 2023

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.