110 lines
3.7 KiB
JSON
110 lines
3.7 KiB
JSON
{
|
|
"path": "$OET_PATH/testcases/function_test/pkg_test/python-pre-commit/python3-pre-commit",
|
|
"machine num": 1,
|
|
"cases": [
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_h",
|
|
"desc": "测试显示帮助信息"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_upper_v",
|
|
"desc": "测试显示版本信息"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_autoupdate",
|
|
"desc": "测试自动更新配置到最新版本"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_clean",
|
|
"desc": "测试清理pre-commit文件"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_gc",
|
|
"desc": "测试清理未使用的缓存仓库"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_init-templatedir",
|
|
"desc": "测试在git模板目录中安装钩子脚本"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_install",
|
|
"desc": "测试安装pre-commit脚本"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_install-hooks",
|
|
"desc": "测试为配置中的所有环境安装钩子"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_migrate-config",
|
|
"desc": "测试迁移列表配置到新的映射配置"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_run",
|
|
"desc": "测试运行钩子"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_sample-config",
|
|
"desc": "测试生成示例配置文件"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_try-repo",
|
|
"desc": "测试尝试仓库中的钩子"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_uninstall",
|
|
"desc": "测试卸载pre-commit脚本"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_validate-config",
|
|
"desc": "测试验证配置文件"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_validate-manifest",
|
|
"desc": "测试验证钩子清单文件"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_pre-commit_help",
|
|
"desc": "测试显示特定命令的帮助"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_install",
|
|
"desc": "测试软件包安装"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_basic_cmd",
|
|
"desc": "测试基本命令执行"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_config_gen",
|
|
"desc": "测试生成配置文件"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_hook_install",
|
|
"desc": "测试安装git钩子"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_hook_run",
|
|
"desc": "测试运行git钩子"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_hook_uninstall",
|
|
"desc": "测试卸载git钩子"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_autoupdate",
|
|
"desc": "测试自动更新钩子"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_cache_clean",
|
|
"desc": "测试清理缓存"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_config_validate",
|
|
"desc": "测试验证配置"
|
|
},
|
|
{
|
|
"name": "test_python3-pre-commit_function_uninstall",
|
|
"desc": "测试软件包卸载"
|
|
}
|
|
]
|
|
} |