Python unittest Module
This page shows the popular functions and classes defined in the
unittest module.
The items are ordered by their popularity in 40,000 open source Python projects.
If you can not find a good example below, you can try
the search function
to search modules.
-
1. TestCase()Used in 6301 projects
-
2. main()Used in 3373 projects
-
Used in 660 projects
-
4. mock()Used in 583 projects
-
5. skipIf()Used in 572 projects
-
6. TestLoader()Used in 521 projects
-
7. skip()Used in 496 projects
-
8. TestSuite()Used in 465 projects
-
9. skipUnless()Used in 290 projects
-
10. SkipTest()Used in 259 projects
-
11. makeSuite()Used in 124 projects
-
Used in 120 projects
-
13. TestResult()Used in 87 projects
-
Used in 48 projects
-
15. html()Used in 48 projects
-
16. TextTestResult()Used in 45 projects
-
17. case()Used in 39 projects
-
18. TestProgram()Used in 31 projects
-
19. findTestCases()Used in 27 projects
-
20. py()Used in 26 projects
-
21. installHandler()Used in 23 projects
-
Used in 23 projects
-
23. removeHandler()Used in 19 projects
-
24. registerResult()Used in 18 projects
-
25. BaseTestSuite()Used in 15 projects
-
26. util()Used in 14 projects
-
27. __file__()Used in 13 projects
-
28. removeResult()Used in 13 projects
-
29. test()Used in 9 projects
-
Used in 8 projects