Python pytest Module
This page shows the popular functions and classes defined in the
pytest 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. raises()Used in 3130 projects
-
2. fixture()Used in 2944 projects
-
3. main()Used in 605 projects
-
4. skip()Used in 531 projects
-
5. warns()Used in 373 projects
-
6. fail()Used in 296 projects
-
Used in 295 projects
-
8. approx()Used in 273 projects
-
9. param()Used in 215 projects
-
10. importorskip()Used in 172 projects
-
11. xfail()Used in 116 projects
-
12. hookimpl()Used in 71 projects
-
Used in 38 projects
-
14. __version__()Used in 29 projects
-
15. ini()Used in 28 projects
-
16. org()Used in 27 projects
-
17. exit()Used in 25 projects
-
18. Item()Used in 23 projects
-
Used in 21 projects
-
20. Function()Used in 20 projects
-
21. File()Used in 19 projects
-
22. mark()Used in 16 projects
-
23. Class()Used in 13 projects
-
24. Instance()Used in 12 projects
-
25. lazy_fixture()Used in 9 projects
-
26. UsageError()Used in 9 projects
-
27. __file__()Used in 7 projects
-
28. set_trace()Used in 6 projects
-
29. config()Used in 5 projects
-
30. PytestWarning()Used in 5 projects