import sys import os import unittest case_path = os.getcwd()+"\unittest_case" print(case_path) discover = unittest.defaultTestLoader.discover(case_path) unittest.TextTestRunner().run(discover)
import sys import os import unittest case_path = os.getcwd()+"\unittest_case" print(case_path) discover = unittest.defaultTestLoader.discover(case_path) unittest.TextTestRunner().run(discover)