如何使用 Thin 服务器而不是默认的 Webrick 运行 Cucumber Selenium?
我的 Cucumber 功能与 selenium 一起使用默认的 Webrick 服务器运行(对于 Rails 3 应用程序)。
如何强制或设置使用瘦服务器而不是 Webrick 运行? 要在 env.rb 文件中添加任何设置吗?
my cucumber features with selenium runs (for Rails 3 app) using the default Webrick server.
How can I force or setup to run with Thin server instead of Webrick?
Any settings to put in env.rb file or else?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是用最近的水豚做到这一点的新方法
This is the new way to do this with recent capybara
两种方法:
1)关闭水豚的内置服务器并自行运行。
2)看起来有人在这里修补了该功能 https://github.com/jnicklas/capybara/pull /175
Two ways:
1) turn off capybara's built in server and run it yourself.
2) Looks like someone patched in the capability here https://github.com/jnicklas/capybara/pull/175