Answers for "unittest run one test"

0

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
Posted by: Guest on April-05-2022

Python Answers by Framework

Browse Popular Code Answers by Language