can we write multiple background in one feature file....? can we write multiple feature in one feature file.....? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/KoIuuRV_AN4J. For more options, visit https://groups.google.com/groups/opt_out.
On Fri, Aug 31, 2012 at 8:59 AM, Fahim Patel <pafahim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> can we write multiple background in one feature file....?No.> can we write multiple feature in one feature file.....?Yes. Read: http://pragprog.com/book/hwcuc/the-cucumber-book -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Friday, 31 August 2012 08:59:48 UTC-5, Fahim Patel wrote:> > can we write multiple background in one feature file....? >No.> can we write multiple feature in one feature file.....? >Yes. Read: http://pragprog.com/book/hwcuc/the-cucumber-book -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/G6AxXF4dRUcJ. For more options, visit https://groups.google.com/groups/opt_out.
thanks Q1 if i have 2 sceanario and 1 background . but i want only 1 scenario should used that backgound and 2nd scenario dont use that background. and i want to run them same time. can it is possible ? Q2 What is the diff between Capybara and Webrat? Which one is by default configure with cucumber ? If both are providing same functionality than which one i use? Q3 How to test view in cucumber ? I want to test CSS and body of page(DOM objects) are working perfectly or not ?How to Write in Scenario to test View? Q4 What is this Silenium Framework ? Can i use this for Rails application ? This framework is better than Cucumber for High level testing ? On Friday, August 31, 2012 7:29:48 PM UTC+5:30, Fahim Patel wrote:> > can we write multiple background in one feature file....? > can we write multiple feature in one feature file.....? >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Qy9oNhC-zYYJ. For more options, visit https://groups.google.com/groups/opt_out.
On Friday, August 31, 2012 7:29:48 PM UTC+5:30, Fahim Patel wrote:> > can we write multiple background in one feature file....? > can we write multiple feature in one feature file.....? >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/1921DlKtPv8J. For more options, visit https://groups.google.com/groups/opt_out.
On Fri, Aug 31, 2012 at 7:43 PM, Jordon Bedwell <envygeeks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Friday, 31 August 2012 08:59:48 UTC-5, Fahim Patel wrote: >> >> can we write multiple background in one feature file....? >> > > No. > > >> can we write multiple feature in one feature file.....? >> > > Yes. > > when i try to write two features on 1 feature file i get this errorParse error at :15. Found feature when expecting one of: comment, doc_string, row, scenario, scenario_outline, step, tag. (Current state: step). (Gherkin::Parser::ParseError) my feature file code below Feature: Real life Scenario: checking 1 Given I click google link Feature: life Scenario: checking 2 Given I click google link i think 2 feature in 1 feature file is not allowed waiting for reply> Read: http://pragprog.com/book/**hwcuc/the-cucumber-book<http://pragprog.com/book/hwcuc/the-cucumber-book> > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/G6AxXF4dRUcJ. > > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.