27 lines
654 B
Python
27 lines
654 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
@Time : 2025/8/4 14:08
|
|
@Auth : 九月的海
|
|
@File : handle_path.py
|
|
@IDE : PyCharm
|
|
@Motto : Catch as catch can....
|
|
"""
|
|
import os
|
|
|
|
project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
# 2- 配置路径
|
|
config_path = os.path.join(project_path, 'configs')
|
|
|
|
# 3- 测试数据路径
|
|
testData_path = os.path.join(project_path, 'testdata')
|
|
|
|
# 4- 测试报告路径
|
|
report_path = os.path.join(project_path, r'outFiles\report')
|
|
|
|
result_path = os.path.join(project_path, r'outFiles\result')
|
|
|
|
# 5- log路径
|
|
log_path = os.path.join(project_path, r'outFiles\log')
|
|
|
|
case_path = os.path.join(project_path, 'testcases') |