与黄瓜/泡菜步骤相关的对象
如果有人可以帮助我使用黄瓜/泡菜语法来创建,那就太好了 相关对象并断言它们。 我怎样才能在我的黄瓜语法中获得参考...
例如
:创建一篇具有特定标题和 3 条评论的博客文章 然后断言这篇文章和相关评论...
这是可以使用 pickle 的对象构建器实现还是我必须手动编写这些步骤 以及如何详细参考master的值?
我特别寻找在不同步骤中引用对象,并用pickle批量插入master及其详细信息(无需手动定义步骤),然后断言它.... 我应该有 1 篇博文和 3 条评论......
it would be great if somebody could help me with the cucumber/pickle syntax on creating
related objects and assert them.
How can I get references in my cucumber syntax...
Something Like
For example: creating a blog post with a certain title with 3 comments
And then assert this post and the related comments...
Is this with object builder by pickle possible or do I have to write these steps manually
and how do I reference the value from master in detail?
I am looking especially for reffering Object in different steps and inserting master with its details in one batch with pickle (without defining the step manually) and then asserting it....
I should have 1 blogpost with 3 comments...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看以下屏幕广播:
这些让我很好地走上了黄瓜和泡菜的道路祝你
好运!
Check out the following screen-casts:
These put me well on my way to cucumber and pickle goodness
Good luck!