完成初版

This commit is contained in:
2026-06-03 17:33:24 +08:00
parent 8b62b674c0
commit eee7d87eb1
16 changed files with 1345 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
"""main.py - MIL SDK 测试示例"""
from pathlib import Path
from src.core import setup_logging, read_excel_data,read_excel_case,create_excel_case
def main():
setup_logging()
sample_path = Path(__file__).parent / "sample.xlsx"
case_path = Path(__file__).parent / "case.xlsx"
excel_path = Path(__file__).parent
# print(f"读取文件: {sample_path}")
data_dict = read_excel_data(sample_path, return_object=False)
pass
# print(data_dict)
case_dict = read_excel_case(case_path,data_dict,True)
pass
create_excel_case(excel_path,data_dict,case_dict)
# print(case_dict)
if __name__ == "__main__":
main()