Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 "moduletest": "macaca-mocha-parallel-tests --reporter macaca-reporter --reporter-options reportJSONFilename=index,processAlwaysExitWithZero=true --max-parallel 5 --timeout=60000",不生成报告 #5

Open
qingyangqiang opened this issue Jul 10, 2021 · 1 comment

Comments

@qingyangqiang
Copy link

当我是用这个测试框架做ui自动化测试,如果打开一个浏览器,并且运行一个测试用例的时间比较久,例如十多分钟,那么就会不生成测试用例。同时我是使用的child_process的子模块运行的标题里面的命令,如果一个测试用例运行耗费了很长的时间。那么子进程并不会在所有的浏览器关闭的时候退出。

@macaca-bot
Copy link
Member

This is the translated issue:


Use "Macaca-Mocha-Parallel-Tests --Reporter Maca-paraL-Tests --Reporter Maca-reporter --Reporter-Options ReportJsonFileName = index, processalwaysexitwithzero = true --max-parallel 5 --timeout = 60000", does not generate reports

When I use this test framework to do a UI automation test, if a browser is opened, and the time to run a test case is more time, for example more than ten minutes, the test case will not be generated. At the same time, I am the command inside the title that uses the Child_Process submodules, if a test case is spent for a long time. Then the child process does not exit when all browser is turned off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants