Sinitra and Cucumber

Hi all,

Anyone using cucumber with sinitra (current). Wondering if I need to use
Aslaks sinatra/webrat forks. Also if anyone has a sample app :slight_smile:

All best

Andrew

On Mon, Feb 16, 2009 at 7:39 AM, Andrew P. [email protected]
wrote:

Hi all,

Anyone using cucumber with sinitra (current). Wondering if I need to use
Aslaks sinatra/webrat forks. Also if anyone has a sample app :slight_smile:

I’ve created a ticket for it:
http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/204-sinatra-example

Aslak

http://tooky.github.com/2009/02/05/getting-started-with-cucumber-and-sinatra.html

Andrew P. wrote:

Anyone using cucumber with sinitra (current). Wondering if I need to use
Aslaks sinatra/webrat forks. Also if anyone has a sample app :slight_smile:

On Thu, Feb 26, 2009 at 1:27 PM, Steve T. [email protected]
wrote:

http://tooky.github.com/2009/02/05/getting-started-with-cucumber-and-sinatra.html

Rob H. updated the wiki yesterday:
http://wiki.github.com/aslakhellesoy/cucumber/sinatra
(He reports that the $0 trick described in the blog doesn’t work with
the latest Sinatra).
Rob also has an example in his fork, which I have yet to merge into my
repo:

Aslak

Aslak Hellesøy wrote:

Rob H. updated the wiki yesterday:
http://wiki.github.com/aslakhellesoy/cucumber/sinatra
(He reports that the $0 trick described in the blog doesn’t work with
the latest Sinatra).
Rob also has an example in his fork, which I have yet to merge into my
repo:
small sinatra example · robholland/cucumber@0e12d81 · GitHub

Aslak

Thanks, I’ve updated my blog to reflect.

Aslak Hellesøy wrote:

Rob H. updated the wiki yesterday:
http://wiki.github.com/aslakhellesoy/cucumber/sinatra
(He reports that the $0 trick described in the blog doesn’t work with
the latest Sinatra).
Rob also has an example in his fork, which I have yet to merge into
my
repo:
small sinatra example · robholland/cucumber@0e12d81 · GitHub

This is now in my master too.

Aslak

With Cuc and Rails I’d be able to debug step definitions by putting
‘debugger’ in the relevant step definition. With Sinatra configured as
above
this doesn’t work. Any tips on making this work and/or explaining whats
different/

Cheers

Andrew

2009/2/27 Aslak Hellesøy [email protected]

Thanks Steve much appreciated :slight_smile:

2009/2/26 Steve T. [email protected]

On Wed, Mar 4, 2009 at 4:30 AM, Andrew P. [email protected]
wrote:

With Cuc and Rails I’d be able to debug step definitions by putting
‘debugger’ in the relevant step definition. With Sinatra configured as above
this doesn’t work. Any tips on making this work and/or explaining whats
different/

Just use: require ‘ruby-debug/debugger’ where you’d normally use
debugger.

The difference is sinatra doesn’t load ruby-debug itself.

Thanks alot - works a treat :slight_smile:

2009/3/4 Rob H. [email protected]