def run(self, paths = []):
p = get_path(paths)
rekitRoot = get_rekit_root(p)
reportType = ''
if is_app_test_folder(p):
reportType = 'app'
elif is_cli_test_folder(p):
reportType = 'cli'
reportPath = os.path.join(rekitRoot, 'coverage', reportType, 'lcov-report/index.html')
webbrowser.open('file://' + reportPath)
评论列表
文章目录