如何解决将 Gherkin 测试规格转换为 Ginkgo 规格
我有一个使用 Gherkin 编写的测试(使用 ruby 作为步骤定义语言的框架),数据如下所示:
Given evaluation of `["A","B","C"]` is stored in the :alphabets clipboard
And I repeat the following steps for each :alphabets in cb.alphabets:
"""
When I run something on [A/B/C]
Then the console output does not have
| something |
"""
我不太了解如何将其更改为银杏格式,以便我们以后可以使用具有相同功能的 golang 代码,请对此进行指导,有关如何处理的指示将非常有帮助.. 我正在参考 - https://onsi.github.io/ginkgo/#structuring-your-specs.。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。