cucumber
How do I use regular expressions in a Cucumber table (multiline argument) to diff against table?
I am using a scenario table (multiline step arguments) to check some data from a screen using cucumber, using the in built .diff! method on the Cucumber AST table.[详细]
2023-03-28 15:54 分类:问答Running capybara with nginx
Is is possible to run capybara with ngin开发者_如何转开发x and passenger? instead or webrick? Capybara is installed with cucumber in a rails app.It is easy - the only thing you have to do is to switch[详细]
2023-03-28 08:12 分类:问答Mount Java app inside cucumber rails app
I have a rails app that talks to an api running on the same domain via ajax calls. I want to test this app using cucumber. The api is written in java and packaged as a jar. How can I mount the jar whe[详细]
2023-03-27 10:56 分类:问答Cucumber Seems to Skip Given Step
As best I can tell cucumber is only hitting the database once between these two scenarios, but it\'s clearing out the database between scenarios.[详细]
2023-03-27 02:44 分类:问答Remove warning about ansicon from "rake cucumber"
When 开发者_如何学Cyou run any rake task with cucumber installed on a machine that doesn\'t have ANSICON installed, you get the following message:[详细]
2023-03-26 23:07 分类:问答Passing multiple parameters with Cucumber and Capybara
Hi I need help with Cucumber to Capybara regex match. So I want to have a Cucumber step below: I should see \"10:00, 11:00, 12:00\" under \"div1\"[详细]
2023-03-26 21:42 分类:问答Adding a hook for object creation that only occurs once in Cucumber
I just need an object created once and only once in Cucumber.I added a file in support/ called object_setup.rb and load it from within env.rb.The file only contains:开发者_如何学C[详细]
2023-03-26 17:20 分类:问答Cucumber and scaffolding
I\'m just learning Cucumber and BDD way to create applications. When I\'m start learning rails by http://guides.rubyonrails.org/ I\'m use scaffolding to generate CRUD functionality and skeleton to my[详细]
2023-03-26 16:42 分类:问答how to configure cucumber and selenium with rails 2.3.11 to work correctly
There are selenium features which work correctly on a rails 2.3.4 and they use firefox 3.5.19 for testing. However, after upgrade to rails 2.3.11, no selenium feature now works correctly, and they all[详细]
2023-03-26 10:02 分类:问答Cucumber Features and Step Definitions
I am new to Cucumber testing. I have created two features files: events.feature partner.feature and have my step definitions in a step_definitions folder:[详细]
2023-03-26 01:16 分类:问答