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 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 about one > thing... >

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 /User

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

2009-04-26 Thread aslak hellesoy
On Sun, Apr 26, 2009 at 7:06 AM, Phlip 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 has be

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

2009-04-26 Thread aslak hellesoy
On Sun, Apr 26, 2009 at 12:32 PM, aslak hellesoy wrote: > > > On Sun, Apr 26, 2009 at 7:06 AM, Phlip 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 >

[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 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: http://github.com/aslakhellesoy/cucumber/comm

[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 Text

[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, chan

[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 s

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 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 best of my knowle

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 m

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 t

[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. public

Re: [rspec-users] automating and end to end functional test.

2009-04-26 Thread jmac
Hi David, So I have a number of Java based web systems. The systems allow users to lodge applications for various products/services that my organisation provides. The applications usually have at least 4 or 5 pages, but may be longer depending on the info that is entered. There is alot of common p

Re: [rspec-users] Cucumber: Setting Dependency among scenarios

2009-04-26 Thread aslak hellesoy
> 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: > There is not, and there probably never will be. With any tes