Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

run a particular test function in pytest

pytest tests_directory/foo.py tests_directory/bar.py -k "test_001 or test_some_other_test"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #test #function #pytest
ADD COMMENT
Topic
Name
9+7 =