mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-27 03:10:08 +08:00
print warning message when no testcase found
This commit is contained in:
@@ -215,6 +215,7 @@ class HttpRunner(object):
|
||||
mapping = mapping or {}
|
||||
task_suite = TaskSuite(self.path, mapping)
|
||||
except exception.TestcaseNotFound:
|
||||
logger.log_error("Testcases not found in {}".format(self.path))
|
||||
sys.exit(1)
|
||||
|
||||
result = self.runner.run(task_suite)
|
||||
|
||||
Reference in New Issue
Block a user