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 (1)

Label Occurrences
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 NERFINISHED
Python 3 NERFINISHED
contains TestCase
TestLoader NERFINISHED
TestResult
TestSuite
TextTestRunner
expectedFailure
main
mock
skip
skipIf
skipUnless
documentedAt https://docs.python.org/3/library/unittest.html
extendedBy nose2
pytest NERFINISHED
hasDesignGoal organize tests into classes and modules
provide rich set of assertion methods
support automated regression testing
implements xUnit testing framework style
influencedBy JUnit NERFINISHED
xUnit family of frameworks NERFINISHED
introducedIn Python 2.1 NERFINISHED
partOf Python standard library NERFINISHED
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 (1)

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