Skip to content
Merged

Dev #97

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dev_python3_12.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: AutomationEditor Dev Python3.9
name: AutomationEditor Dev Python3.12

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable_python3_12.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: AutomationEditor Stable Python3.9
name: AutomationEditor Stable Python3.12

on:
push:
Expand Down
35 changes: 21 additions & 14 deletions automation_ide/utils/exception/exception_tags.py
Original file line number Diff line number Diff line change
@@ -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"
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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" },
]
Expand Down Expand Up @@ -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 }
9 changes: 4 additions & 5 deletions dev.toml → stable.toml
Original file line number Diff line number Diff line change
@@ -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" },
]
Expand Down Expand Up @@ -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 }