From 98bbbd9fc31f006c0d77c51471c7d27d846f6109 Mon Sep 17 00:00:00 2001 From: JE-Chen <33644111+JE-Chen@users.noreply.github.com> Date: Sun, 13 Jul 2025 15:33:54 +0800 Subject: [PATCH 1/2] Update CI files Update CI files * Update pipeline name --- .github/workflows/dev_python3_12.yml | 2 +- .github/workflows/stable_python3_12.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev_python3_12.yml b/.github/workflows/dev_python3_12.yml index b27d04c..a4add06 100644 --- a/.github/workflows/dev_python3_12.yml +++ b/.github/workflows/dev_python3_12.yml @@ -1,4 +1,4 @@ -name: AutomationEditor Dev Python3.9 +name: AutomationEditor Dev Python3.12 on: push: diff --git a/.github/workflows/stable_python3_12.yml b/.github/workflows/stable_python3_12.yml index df89ae9..685389b 100644 --- a/.github/workflows/stable_python3_12.yml +++ b/.github/workflows/stable_python3_12.yml @@ -1,4 +1,4 @@ -name: AutomationEditor Stable Python3.9 +name: AutomationEditor Stable Python3.12 on: push: From 134df295657f2b483c50a39e0a3aff5bdedab1e7 Mon Sep 17 00:00:00 2001 From: JE-Chen <33644111+JE-Chen@users.noreply.github.com> Date: Sat, 19 Jul 2025 16:06:39 +0800 Subject: [PATCH 2/2] Update both version Update both version * Update exception tag --- .../utils/exception/exception_tags.py | 35 +++++++++++-------- pyproject.toml | 9 ++--- dev.toml => stable.toml | 9 +++-- 3 files changed, 30 insertions(+), 23 deletions(-) rename dev.toml => stable.toml (91%) diff --git a/automation_ide/utils/exception/exception_tags.py b/automation_ide/utils/exception/exception_tags.py index 695a0c4..718ab53 100644 --- a/automation_ide/utils/exception/exception_tags.py +++ b/automation_ide/utils/exception/exception_tags.py @@ -1,30 +1,37 @@ # add command exception -add_command_type_exception_tag: str = "command execute_return_value type should be as method or function" -add_command_not_allow_package_exception_tag: str = "choose to add command package not allow" +add_command_type_exception_tag: str = "command execute_return_value type must be a method or function" +add_command_not_allow_package_exception_tag: str = "chosen command package is not allowed" + # send html report exception send_html_exception_tag: str = """ -make sure you have installed je_mail_thunder \n -can"t send html report check login user and password is correct \n -and current working folder have default_name.html (html report default execute_detail) \n -or you should get the function file_path to read +make sure you have installed je_mail_thunder +can't send HTML report: check that the login username and password are correct +and that the current working folder contains default_name.html (the default HTML report execute_detail) +or use the file_path function to read """ + # test executor exception auto_control_process_executor_exception_tag: str = "can't run AutoControl" api_testka_process_executor_exception_tag: str = "can't run APITestka" web_runner_process_executor_exception_tag: str = "can't run WebRunner" load_density_process_executor_exception_tag: str = "can't run LoadDensity" + # Install -not_install_exception: str = "Please install package first, Can't find package" +not_install_exception: str = "please install the package first; can't find the package" + # ui exception -wrong_test_data_format_exception_tag: str = "get the wrong test data format" +wrong_test_data_format_exception_tag: str = "incorrect test data format" + # exec exception -exec_error: str = "AutomationEditor exec error" +exec_error: str = "AutomationEditor execution error" file_not_fond_error: str = "File not found" compiler_not_found_error: str = "Compiler not found" -not_install_package_error: str = "not install required package" +not_install_package_error: str = "required package not installed" + # json exception -cant_reformat_json_error: str = "Can't reformat json is type right?" -wrong_json_data_error: str = "Can't parser json" +cant_reformat_json_error: str = "can't reformat JSON: is the type correct?" +wrong_json_data_error: str = "can't parse JSON" + # XML -cant_read_xml_error: str = "can't read xml" -xml_type_error: str = "xml type error" +cant_read_xml_error: str = "can't read XML" +xml_type_error: str = "XML type error" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 9850bb0..e1286d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,12 @@ -# Rename to build stable version -# This is stable version +# Rename to dev version +# This is dev version [build-system] requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] -name = "automation_ide" -version = "0.0.43" +name = "automation_ide_dev" +version = "0.0.49" authors = [ { name = "JE-Chen", email = "jechenmailman@gmail.com" }, ] @@ -35,5 +35,6 @@ Code = "https://github.com/Intergration-Automation-Testing/AutomationEditor" file = "README.md" content-type = "text/markdown" + [tool.setuptools.packages] find = { namespaces = false } diff --git a/dev.toml b/stable.toml similarity index 91% rename from dev.toml rename to stable.toml index c2ef49c..c338fb9 100644 --- a/dev.toml +++ b/stable.toml @@ -1,12 +1,12 @@ -# Rename to dev version -# This is dev version +# Rename to build stable version +# This is stable version [build-system] requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] -name = "automation_ide_dev" -version = "0.0.48" +name = "automation_ide" +version = "0.0.44" authors = [ { name = "JE-Chen", email = "jechenmailman@gmail.com" }, ] @@ -35,6 +35,5 @@ Code = "https://github.com/Intergration-Automation-Testing/AutomationEditor" file = "README.md" content-type = "text/markdown" - [tool.setuptools.packages] find = { namespaces = false }