-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[test][enhance][refactor] support suite block to specify multiple group, suppo… #8792
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
Conversation
9cd5c75 to
a95d1f1
Compare
cfa21e2 to
5f55e58
Compare
|
|
||
| ## CI/CD的支持 | ||
| ### TeamCity | ||
| 可以使用--teamcity开启TeamCity Service Message. `-Dteamcity.enableStdErr=false`可以让错误日志也打印到stdout中,方便按顺序分析日志。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果开启 --teamcity 的话,输出的文件是在哪里?以及在teamcity 上需要什么特殊的配置嘛?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不需要输出文件。除了配置启动命令,teamcity不需要修改什么。框架会打印teamcity的能识别的事件日志到标准输出流,teamcity在启动进程后会自动识别标准输出流中的日志
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嗯我的意思就是把配置 teamcity 流水线的这个步骤说一下。这样大家都可以按照这个步骤配置 ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改了
| return "##teamcity[testStdErr name='${suiteContext.flowName}' out='${escape(msg)}' flowId='${suiteContext.flowId}' timestamp='${timestamp}']" | ||
| } | ||
|
|
||
| // static void testSuiteStarted(ScriptContext scriptContext) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove it directly ~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
run-regression-test.sh
Outdated
| --clean) CLEAN=1 ; shift ;; | ||
| --run) RUN=1 ; shift ;; | ||
| --clean) CLEAN=1 ; shift ;; | ||
| --teamcity) TEAMCITY=1 ; shift ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| --teamcity) TEAMCITY=1 ; shift ;; | |
| --teamcity) TEAMCITY=1 ; shift ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
run-regression-test.sh
Outdated
| --run) RUN=1 ; shift ;; | ||
| --clean) CLEAN=1 ; shift ;; | ||
| --teamcity) TEAMCITY=1 ; shift ;; | ||
| --run) RUN=1 ; shift ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| --run) RUN=1 ; shift ;; | |
| --run) RUN=1 ; shift ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
The test failed. Maybe you should rebase the code ~ |
5f55e58 to
214d5d0
Compare
done |
EmmyMiao87
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…rt test action with check iterator/file/http stream
0a0a43d to
39d872f
Compare
EmmyMiao87
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
Proposed changes
TestActionsupport compare result to iterator, local file and http stream.-dto run the suite in some directories, instead of-g. and-gis used to specifygroupsalready update demo in the chinese document and demo suites
Checklist(Required)
@EmmyMiao87