This repository was archived by the owner on Mar 25, 2025. It is now read-only.
feat: support extra global params per testsuite#326
Closed
mmagi wants to merge 1 commit intoSonicCloudOrg:mainfrom
Closed
feat: support extra global params per testsuite#326mmagi wants to merge 1 commit intoSonicCloudOrg:mainfrom
mmagi wants to merge 1 commit intoSonicCloudOrg:mainfrom
Conversation
4 tasks
Contributor
Author
|
另外留意到之前也有过类似的pr,但是没被接受,我的使用场景是有多个渠道包,希望可以按需要分别测,按不同频率设置定时任务等,虽然可以复制测试用例,但是复制之后后续修改变的很麻烦。增加了这个功能就不局限于复用公共步骤了,而是能够复用测试用例。 |
Member
|
是的,因为本意还是偏向简单为主,复杂的场景一般都是推荐自定义脚本去实现。加上现在其实我不太有时间维护文档,因为写了也没多少人看,所以复杂场景我还是打算先把这个pr放着吧,或者我再考虑下怎么优化。另外,非常感谢你近期对sonic的关注。
|
4264422 to
ec924f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Description
支持为每个测试套件单独设置全局变量,优先级高于项目整体的全局变量,以便测试用例的复用
前端部分见SonicCloudOrg/sonic-client-web#238