[rspec-users] Cucumber/RSpec for an existing Rails project - generate rspec models and controllers?

2009-04-26 Thread Lee Longmore
Hi, I would like to use Cucumber and RSpec for my existing Rails project. I am now reasonably comfortable with the use of these, having studied the RSpec Book and various online resources. I am however unsure about one thing... Given that I have several existing models and controllers in my

Re: [rspec-users] Cucumber/RSpec for an existing Rails project - generate rspec models and controllers?

2009-04-26 Thread David Chelimsky
On Sun, Apr 26, 2009 at 1:47 AM, Lee Longmore lee_longm...@yahoo.co.uk wrote: Hi, I would like to use Cucumber and RSpec for my existing Rails project. I am now reasonably comfortable with the use of these, having studied the RSpec Book and various online resources. I am however unsure

Re: [rspec-users] jruby require 'jcode' problem and cucumber 1.2.0

2009-04-26 Thread aslak hellesoy
After upgrading to cucumber 0.3.0 from 0.1.16 I'm getting this error when I try to run a feature: /Users/steve/src/jruby-1.2.0/lib/ruby/1.8/jcode.rb:66:in `end_regexp': too short multibyte code string: /[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf][\x80-\xbf]$/ (RegexpError) from

Re: [rspec-users] BDD for C#?

2009-04-26 Thread aslak hellesoy
On Sun, Apr 26, 2009 at 7:06 AM, Phlip phlip2...@gmail.com wrote: Brandon Olivares wrote: I know this is slightly off topic, but I'm having trouble finding something, and wondered if anyone here had experience with any BDD frameworks for C#. Why not replicate Cucumber in C#? Cucumber

Re: [rspec-users] BDD for C#?

2009-04-26 Thread aslak hellesoy
On Sun, Apr 26, 2009 at 12:32 PM, aslak hellesoy aslak.helle...@gmail.comwrote: On Sun, Apr 26, 2009 at 7:06 AM, Phlip phlip2...@gmail.com wrote: Brandon Olivares wrote: I know this is slightly off topic, but I'm having trouble finding something, and wondered if anyone here had

[rspec-users] [Cucumber] gem missing dependencies

2009-04-26 Thread Kero van Gelder
Hi! Looks like installing hoe (which brings in rubyforge and rake) solved the problem below. Who builds the gem / should I report this to / should I send a patch ? Bye, Kero. --- fresh install of debian lenny, upgraded to unstable. $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

Re: [rspec-users] [Cucumber] gem missing dependencies

2009-04-26 Thread aslak hellesoy
On Sun, Apr 26, 2009 at 2:16 PM, Kero van Gelder k...@chello.nl wrote: Hi! Looks like installing hoe (which brings in rubyforge and rake) solved the problem below. Who builds the gem / should I report this to / should I send a patch ? I just fixed that:

[rspec-users] Problems running features with Textmate Cucumber bundle

2009-04-26 Thread Rick DeNatale
I finally plunked down for the beta RSpec bundle and I'm working through the initial example. Although I'm a fairly experienced RSpec user, I'm stlll learning new tricks. Anyway, I'm going though the mastermind example, and everything is going well, except that I decided to also try out the

[rspec-users] RSPEC book example in Chapter 3.

2009-04-26 Thread G. Brandon Hoyt
Hi! I'm going through the rspec book in beta form right now and hit a snag in chapter three. I am developing an application in parallel to the book example instead of writing the book example word for word. To the best of my knowledge, I have duplicated a parallel example of the book example,

[rspec-users] running a specific feature when set up with selenium

2009-04-26 Thread Barun Singh
I've set up my cucumber.yml file so that i have a default profile and a selenium profile as described at the end of this wiki page: http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium This works great when I run 'cucumber' from the command line, but I don't seem to be able to run a

Re: [rspec-users] RSPEC book example in Chapter 3.

2009-04-26 Thread David Chelimsky
On Sun, Apr 26, 2009 at 3:45 PM, G. Brandon Hoyt qrpra...@gmail.com wrote: Hi! I'm going through the rspec book in beta form right now and hit a snag in chapter three. I am developing an application in parallel to the book example instead of writing the book example word for word.  To the

Re: [rspec-users] RSPEC book example in Chapter 3.

2009-04-26 Thread G. Brandon Hoyt
On Sun, Apr 26, 2009 at 04:17:42PM -0500, David Chelimsky wrote: You've got the message expectation (should_receive) on the wrong object - it should be on the messenger, not the program. HTH, David yep that fixed 'er all right! I don't know ow many times I thought I had checked it to make

Re: [rspec-users] Problems running features with Textmate Cucumber bundle

2009-04-26 Thread Ben Mabey
Rick DeNatale wrote: I finally plunked down for the beta RSpec bundle and I'm working through the initial example. Although I'm a fairly experienced RSpec user, I'm stlll learning new tricks. Anyway, I'm going though the mastermind example, and everything is going well, except that I decided

[rspec-users] Cucumber: Setting Dependency among scenarios

2009-04-26 Thread Neema Cheriyath
Hi, I am planning to use cucumber-java for my java project for automated testing. I would like to know if there is any option in cucumber, by which we can explicitly provide dependency among running scenarios. For example: I have a ValidateProfile.java and a ProfileSignIn.java.