unittest

E431918

unittest is Python’s built-in unit testing framework that provides tools for organizing tests, checking results, and automating test execution.

All labels observed (2)

Label Occurrences
Python unittest module 1
unittest canonical 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf Python standard library module
Python testing framework
category Python module
software testing framework
compatibleWith Python 2
linked to: Python 2.0

Python 3
linked to: Python 3.x
contains TestCase
TestLoader
TestResult
TestSuite
TextTestRunner
expectedFailure
main
mock
skip
skipIf
skipUnless
documentedAt https://docs.python.org/3/library/unittest.html
extendedBy nose2
pytest
hasDesignGoal organize tests into classes and modules
provide rich set of assertion methods
support automated regression testing
implements xUnit testing framework style
influencedBy JUnit
xUnit family of frameworks
linked to: xUnit.net
introducedIn Python 2.1
partOf Python standard library
programmingLanguage Python
provides unit testing functionality
supports assertion methods
command-line test execution
expected failures
subtests
test automation
test case classes
test discovery
test fixtures
test skipping
test suites
typicalUsage define test classes by subclassing unittest.TestCase
import unittest
run tests via python -m unittest
run tests via unittest.main()
usedFor regression testing
testing Python code behavior
verifying code correctness

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

Python official documentation covers Python unittest module
linked to: unittest