Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

unittest run one test

# from command line
# module_name and method_name are self - explanatory
# MyTestClass is the class derived from unittest.TestCase (for example)
python -m unittest module_name.MyTestClass.method_name 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unittest #run #test
ADD COMMENT
Topic
Name
7+5 =