Pytest Operations: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Pytest =Executing A Single Test=") |
|||
Line 2: | Line 2: | ||
* [[Pytest#Subjects|Pytest]] | * [[Pytest#Subjects|Pytest]] | ||
=Executing A Single Test= | =Executing A Single Test= | ||
==Executing a Single Test in a Module== | |||
<syntaxhighlight lang='bash'> | |||
pytest test_mod.py::test_func | |||
</syntaxhighlight> | |||
==Executing a Single Test in a Class== | |||
<syntaxhighlight lang='bash'> | |||
pytest test_mod.py::TestClass::test_method | |||
</syntaxhighlight> |
Revision as of 01:13, 17 February 2022
Internal
Executing A Single Test
Executing a Single Test in a Module
pytest test_mod.py::test_func
Executing a Single Test in a Class
pytest test_mod.py::TestClass::test_method