def run(self):
print _LOGO
args = self._parse_args()
if not os.path.exists(args.path):
print colored(
'Error: {} file do not exists'.format(args.path),
'red'
)
exit(-1)
if not os.path.exists(args.tests):
raise ValueError("Tests not found".format(
args.tests
))
# Find the test suite we need to execute
test_suite = self.__finder.find(args.tests)
# Run the test suite
self.__runner.run(test_suite)
评论列表
文章目录