cucumber
rails 3.1 assets pipeline + acceptance test
we have a rather extensive acceptance test suite, running on our CI server triggered by a Github push hook. i\'d like to add a feature or spec to basically test wether rake assets:precompile runs smoo[详细]
2023-04-04 23:48 分类:问答Why won't this cucumber line parse?
I have the following simple cucumber step: Given I submit \"Father father father help us\" in reply to \"Where is the love?\"[详细]
2023-04-04 21:05 分类:问答Simulate closing/reopening the browser in cucumber/capybara?
I\'m writing cucumber tests to test user \'Remember me\' type functionality, and in order to do that in real life the user would close their browser开发者_开发问答, reopen their browser, and come back[详细]
2023-04-04 14:29 分类:问答RSpec approach to test XML and HTTP responses?
I have a RESTful site that uses both the XML and web responses (API and web site). Since there are a lot of pages, my current goal is setting up RSpec to simply request each of the pages in both data[详细]
2023-04-04 08:16 分类:问答Cucumber: How do I use Multiple Scenario Outlines with one Example?
Scenario Outline: blah blah Scenarios: col | col | dat | dat | Scenario Outline bla开发者_如何学Pythonh blah[详细]
2023-04-04 06:39 分类:问答RoR: Testing: undefined local variable or method `be_nil'… but… I included RSpec, spec/spec_helper, spec/matchers, etc
in my environments/test.rb: config.gem \"rspec\" config.gem \"rspec-rails\" relevant part of my gemfile:[详细]
2023-04-04 00:53 分类:问答Rails capybara cucumber before each test support
I\'m using cucumber and capybara to do our ATs and I\'m trying to replace celerity/culerity with webkit and I\'m wondering if anyone knows of a way to have each scenario run a method (the same method开[详细]
2023-04-03 22:53 分类:问答cucumber load error activesupport
I am new to rails and I having trouble using cucumber to run my tests.I get the following error: You have already activated activesupport 3.1.0, but your Gemfile requires activesupport 3.1.0.rc8. Con[详细]
2023-04-03 19:35 分类:问答Ambiguous step in cucumber
I have defined this step: Then /^the \"([^\"]*)\" field(?: within (.*))? should be empty$/ do |field, parent|[详细]
2023-04-03 18:30 分类:问答How would one do a for loop in a cucumber feature?
I have a set of preferences I want to test the exact same tests for, and make sure they all behave appropriately. So, the for loop would iterate over each preference configuration, and run the same se[详细]
2023-04-03 13:50 分类:问答