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

能不能增加一下测试用例yaml文件的说明文档,方便理解可以在哪些方面做增强? #36

Open
xvm03 opened this issue Apr 13, 2020 · 2 comments

Comments

@xvm03
Copy link

xvm03 commented Apr 13, 2020

1.能不能增加一下测试用例yaml文件的说明文档,方便理解可以在哪些方面做增强?
2.另外想问下,被测方法内部的rpc调用我想要mock,除了使用自定义Mock,有没有可能通过yaml文件配置化设置rpc的mock结果?

@PerryYu
Copy link

PerryYu commented Apr 17, 2020

  1. 本身yaml是预期通过插件的形式来自动生成,如果手动编辑的话目前没有现成的说明文档,但可以通过插件生成对应的对象来作参考;

  2. 可以的,通过插件的mock设置里面配置mock结果

@xvm03
Copy link
Author

xvm03 commented Apr 20, 2020

不是手动编辑这个文档,而是生成的这个文档里具体说明,主要节点的说明:depDataSet,expectDataSet,expectEventSet,expectException,expectResult,virtualParams

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