auto_test_dev/MAIN_YM.py
2024-11-11 17:16:31 +08:00

20 lines
755 B
Python

# !/usr/bin/python
# -*- coding: utf-8 -*-
# This is a sample Python script.
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
def print_hi(name):
from commons.EngineX import Engine, NotificationModule
# Use a breakpoint in the code line below to debug your script.
print(f'--- Hi, {name} ---\n') # Press Ctrl+F8 to toggle the breakpoint.
print(f"=== Start of Test Suite ===")
return_list = Engine().run_test_suite()
NotificationModule().send_msg(return_list)
print(f"=== End of Test Suite ===")
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
print_hi("YiMao Autotest")