如何运行黄瓜硒使用瘦服务器而不是默认Webrick? [英] How to run cucumber selenium using Thin server instead of default Webrick?

查看:160
本文介绍了如何运行黄瓜硒使用瘦服务器而不是默认Webrick?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何强制或设置为使用瘦服务器而不是Webrick运行(对于Rails 3应用程序) ?
要放在env.rb文件或其他文件中的任何设置?

解决方案

两种方法:



1)关闭capybara的内置服务器并自行运行。



2)看起来像有人打开了< =https://github.com/jnicklas/capybara/pull/175 =nofollow> https://github.com/jnicklas/capybara/pull/175


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?

解决方案

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

这篇关于如何运行黄瓜硒使用瘦服务器而不是默认Webrick?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆