We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
您应该看看 cucumber-screenshot gem。看起来它完全符合您的要求——为场景中的每个步骤获取 HTML 或(如果您使用的是 Mac)PNG 屏幕截图。 (去年我曾有一段时间在玩我自己的这个想法的版本。我放弃了它很早就开始了,所以你可能最好使用 Cucumber-screenshot,但也可以随意从 Visible Cukes 获取任何你可以使用的东西)。
You should take a look at the cucumber-screenshot gem. It looks like it does exactly what you want--taking HTML or (if you're on a Mac) PNG screenshots of each step in your scenarios. (I was playing with my own version of this idea for a while last year. I dropped it pretty early on, so you're probably better off with cucumber-screenshot, but feel free to take anything you can use from Visible Cukes too).
我使用 Lowdown (http://lowdownapp.com) 与客户来回交流功能。 Cucumber 的全部意义在于它是特定于业务的,因此您不必将其转换为另一种文档格式。不过我大概明白你要去哪里了。
您可以使用 http://seleniumshots.com/ 从测试中获取应用程序的屏幕截图。不过,我不知道它是否已经结束测试版。
I use Lowdown (http://lowdownapp.com) to communicate features back and forth with clients. The whole point of cucumber is that it's business specific, so you shouldn't have to translate it to another format for documentation. I kinda see where you're going, though.
You can use http://seleniumshots.com/ for getting screenshots from your app from the tests. I don't know if it's out of beta yet, though.
听起来很酷。也许您不希望全世界都可以使用某些黄瓜场景。如果开发人员输入了敏感信息,例如人员姓名/开发密码;或者发现网站漏洞并编写了黄瓜场景来验证它是否已修补。
Sounds cool. Maybe you don't want some of the cucumber scenarios available to the whole world. If a developer put something sensitive, like people's names / development passwords; or a website exploit was discovered and a cucumber scenario was written to verify it was patched.