On Mon, Jan 19, 2009 at 12:01 AM, Fernando Perez wrote:
> Andrew Premdas wrote:
> > I'd just like to point out that the Github wiki tool is somewhat
> > challenged
> Yeah I also think that the github wiki is showing its limits. It works
> when the project only requires a few pages of documentation
Dave Hoover just published a screencast, so I decided to make my own TV
channel. It's called CukeTV, and the whole program is up on
http://cukes.info/
It has one episode. Enjoy!
Aslak (::)
___
rspec-users mailing list
rspec-users@rubyforge.org
http://ru
On Mon, Jan 19, 2009 at 3:48 PM, David Chelimsky wrote:
> Forgive me if this was already mentioned.
>
> While we're moving doco around on the cucumber wiki, one thing that
> should change is the name of:
> http://wiki.github.com/aslakhellesoy/cucumber/using-fit-tables-in-a-feature
>
> We don't wan
On Mon, Jan 19, 2009 at 9:38 PM, James Byrne wrote:
> Rspec provides a stats task for rake. However, it does not reference
> cucumber step definitions, possibly because these are not easily
> categorized into the MVC etc. test classifications that the rspec task
> uses.
>
> Is extending the rake
On Thu, Jan 22, 2009 at 10:15 PM, James Byrne wrote:
> Luis Lavena wrote:
>
> >
> > James: can you tell us if you're using cygwin ruby or native one?
> >
>
> I am not sure. I installed cygwin after I had Ruby on that box.
>
Than you have a native one. Run ruby --version to be sure. What does it
On Fri, Jan 23, 2009 at 1:05 AM, s.ross wrote:
> On Jan 22, 2009, at 3:38 PM, David Chelimsky wrote:
>
> On Thu, Jan 22, 2009 at 4:51 PM, s.ross wrote:
>>
>>> I had a relatively flat layout and wanted to group like features together
>>> so
>>> I made it more hierarchical:
>>>
>>> features/
>>>
On Sun, Jan 18, 2009 at 2:24 AM, aslak hellesoy wrote:
>
>
> On Sun, Jan 18, 2009 at 1:34 AM, aslak hellesoy
> wrote:
>
>>
>>
>> On Sat, Jan 17, 2009 at 10:10 PM, Tom Cloyd wrote:
>>
>>> Fernando Perez wrote:
>>>
>>>>
On Fri, Jan 23, 2009 at 12:14 PM, aidy lewis wrote:
> Hi
> On 23/01/2009, aslak hellesoy wrote:
>
> > > 18) How to use Cukes with non-Ruby platforms (Watir family,
>
> I will gladly put something together on Cucumber and Watir.
>
Be my guest! Please also link t
On Fri, Jan 23, 2009 at 3:20 PM, James Byrne wrote:
> My original observation wrt this problem was inaccurate. The same
> behaviour is evidenced in both my Linux and cygwin environments.
> Setting the environment variable "CUCUMBER_COLORS" in support/env.rb run
> does not alter the behaviour of
On Fri, Jan 23, 2009 at 3:40 PM, James Byrne wrote:
> Josh Chisholm wrote:
> > We are setting environment variables in our Rakefile. We have various
> > tasks that set up environment variables, then call the cucumber task.
> > That's working for us under windows.
>
> Yes that makes sense. Referri
On Sun, Jan 25, 2009 at 3:39 AM, Mark Wilden wrote:
> I'm getting a humongous backtrace when I have an error in a Cucumber
> feature. Is there a way to quiet it down a bit?
>
It's filtering by default. -b gives you a full backtrace. If you get a long
one by default it's a bug. Please advise how
Hi folks,
I'm pretty excited about the next release - 0.2. Please try out the
prereleases (0.1.99):
gem sources -a http://gems.github.com
gem install aslakhellesoy-cucumber
We need updated translations! To see what needs updating, do this:
cucumber --lang help # To see what languages are
On Tue, Jan 27, 2009 at 8:14 PM, s.ross wrote:
> Sheepishly, I am announcing that I created a textile formatter for Cuke. It
> was unabashedly ripped out of the HTML formatter, so there is almost
> certainly a better way to do it. The incentive behind this was my desire to
> get stories posted on
On Wed, Jan 28, 2009 at 12:55 AM, s.ross wrote:
>
> Ok, I created stories
> http://github.com/sxross/cucumber_textile_formatter/tree/master
> :)
> On Jan 27, 2009, at 12:09 PM, aslak hellesoy wrote:
>
I'm inviting EVERYBODY to help design a new HTML format for Cucumber
0
On Thu, Jan 29, 2009 at 10:37 AM, Erik Pukinskis
wrote:
> Yes, that should work. But you'd have to do
>
> Given /^there is a country "(.*)" with the cities:$/ do |country_name,
> cities_table|
> ...
> end
>
Correct. And it's documented in the Wiki:
http://wiki.github.com/aslakhellesoy/cucumber/c
On Thu, Jan 29, 2009 at 12:29 PM, aslak hellesoy
wrote:
> On Thu, Jan 29, 2009 at 10:37 AM, Erik Pukinskis
> wrote:
>> Yes, that should work. But you'd have to do
>>
>> Given /^there is a country "(.*)" with the cities:$/ do |country_name,
>> cities_
On Thu, Jan 29, 2009 at 7:08 PM, tatyree wrote:
> Even if this is a bug, it's a pretty obscure one. It was frustrating
> the hell out of me until I found a workaround, so I thought I'd just
> post the details:
>
> Given a find like this:
>
> def self.find_old
> User.all(:conditions => ['updated_
On Thu, Jan 29, 2009 at 7:25 PM, David Chelimsky wrote:
>
>
> On Thu, Jan 29, 2009 at 12:00 PM, wrote:
>>
>> Hi all,
>>
>> I've found myself writing a thing I think is less than optimal, looking
>> for suggestions. The context is, I'm testing a result, and as a part of
>> that test, I might veri
On Thu, Jan 29, 2009 at 8:36 PM, aidy lewis wrote:
> Hi,
>
> Where should we be documenting errors in the Rspec beta book?
>
There is an "Errata" link on the main book page that points here:
http://www.pragprog.com/titles/achbd/errata
Aslak
> Thanks
>
> Aidy
> __
On Thu, Jan 29, 2009 at 8:21 PM, aidy lewis wrote:
> Hi,
>
> Is it possible to run the html and console formatting concurrently in
> Cucumber?
>
It should be, yes. Check --help for details.
Are you running into any issues?
Aslak
> Thanks
>
> Aidy
>
On Thu, Jan 29, 2009 at 8:18 PM, David Chelimsky wrote:
>
>
> On Thu, Jan 29, 2009 at 1:02 PM, aslak hellesoy
> wrote:
>>
>> On Thu, Jan 29, 2009 at 7:25 PM, David Chelimsky
>> wrote:
>> >
>> >
>> > On Thu, Jan 29, 2009 at 12:00 PM,
On Thu, Jan 29, 2009 at 10:14 PM, David Chelimsky wrote:
> On Thu, Jan 29, 2009 at 2:38 PM, Nick Hoffman wrote:
>> On 29/01/2009, at 2:18 PM, David Chelimsky wrote:
>>>
>>> On Thu, Jan 29, 2009 at 1:02 PM, aslak hellesoy
>>> wrote:
>>> On Thu, Jan 29
On Mon, Feb 2, 2009 at 7:00 PM, Tim Walker wrote:
> Hi Guys,
>
> I see in the Cucmber --help that -d akd --dry-run is supported but it
> doesn't seem to work.
>
> Anyone know why?
>
Because it has a bug that has been fixed in 0.2 prereleases (0.1.99.x)
http://tinyurl.com/cucumber-0-2-beta
Aslak
On Mon, Feb 2, 2009 at 2:24 PM, AndreXP wrote:
>
> Hi list,
>
> I might have not asked this correctly in previous post.. and most definitely
> weren't clear! let's try again :)
>
> I can't seem to find any examples of using a rake variable in the Cucumber
> task. What I want to do is run my cucumb
Folks,
If you encounter parse errors on 0.1.99.x (0.2 prereleases), please do
the following:
1) Create a http://gist.github.com/ with the full (but minimal)
feature that fails to parse
2) Got to the *raw* view of that gist and comy the URL
3) Paste it into Lighthouse a ticket, and mention what 0.
On Tue, Feb 3, 2009 at 8:40 PM, David Chelimsky wrote:
> On Tue, Feb 3, 2009 at 2:30 AM, aslak hellesoy
> wrote:
>> Folks,
>>
>> If you encounter parse errors on 0.1.99.x (0.2 prereleases), please do
>> the following:
>>
>> 1) Create a http://g
On Wed, Feb 4, 2009 at 7:21 PM, Christopher Bailey wrote:
> I've been battling the strangest behavior, and hoping someone can shed some
> light...
> I am using RSpec for MVC tests, and then Cucumber for stories/features. I
> am new to Cucumber, and recently finished converting our RSpec Story Run
On Thu, Feb 5, 2009 at 10:38 AM, Matt Wynne wrote:
> Since upgrading to Cucumber 0.1.99.19 I've noticed that the backtraces
> appearing in the console output are of the form:
>
>Page load was not successful (Code: 500):
>
> Followed by the dump of the rails error page. That page looks fine in
On Thu, Feb 5, 2009 at 1:43 AM, Christopher Bailey wrote:
> On Wed, Feb 4, 2009 at 12:54 PM, aslak hellesoy
> wrote:
>>
>> On Wed, Feb 4, 2009 at 7:21 PM, Christopher Bailey
>> wrote:
>> > I've been battling the strangest behavior, and hoping someone can
On Mon, Feb 9, 2009 at 2:35 AM, Sergio Bayona wrote:
> how could this test pass?
>
> I have:
>
> class PropertiesController < ApplicationController
> def show
>@property = Property.non_existing_method #causes a method missing
> error
> end
> end
>
>
> describe PropertiesController do
> def
On Fri, Feb 6, 2009 at 6:12 PM, Jeff Talbot wrote:
> Hello,
>
> I have a controller action that raises a RecordNotFound exception if
> you're not allowed to see something. In my global application
> controller (application.rb), I catch these and render the 404
> template. But when I run cucumber (
On Mon, Feb 9, 2009 at 3:58 PM, Stephen Eley wrote:
> On Mon, Feb 9, 2009 at 6:11 AM, aslak hellesoy
> wrote:
>>
>> It's because Cucumber's Rails support configures ActionController to
>> send all errors straight through.
>> See cucumber/rails/world.rb
&g
dude. have you lost your memory? didn't we have this conversation a week ago?
http://www.nabble.com/-Cucumber--and-rake-pass-command-line-params-tt21789574.html
aslak
On Fri, Jan 30, 2009 at 1:26 PM, AndreXP wrote:
>
> Can anybody tell me how to pass a variable from the rake command to my steps
On Tue, Feb 10, 2009 at 11:30 PM, David Chelimsky wrote:
> On Tue, Feb 10, 2009 at 2:42 PM, aslak hellesoy
> wrote:
>> dude. have you lost your memory? didn't we have this conversation a week ago?
>>
>> http://www.nabble.com/-Cucumber--and-rake-pass-command-line-par
On Wed, Feb 11, 2009 at 2:10 AM, Chris Flipse wrote:
> This /could/ just a screwy behavior I'm seeing in SQL lite, but I don't
> think so; normal scenarios are doing this just fine.
>
> I'm playing with the Background feature in the .1.99 beta, and it looks like
> it's being run before every featu
On Fri, Feb 13, 2009 at 1:16 PM, Felix Elliger
wrote:
> Hi,
>
> I'm really new to cucumber-testing. I want to use an HTTP Post in my
> step-definitions using the post-method.
> When I execute
>
> response = post '/controller/action'
>
I'm guessing you're using Cucumber with Rails. Cucumber step
On Sun, Feb 15, 2009 at 8:47 PM, Ben Mabey wrote:
> Zach Dennis wrote:
>>
>> On Sun, Feb 15, 2009 at 2:21 PM, Joaquin Rivera Padron
>> wrote:
>>
>>>
>>> hey there,
>>> the short version:
>>> right now Cucumber provides hooks Before and After to be run around every
>>> step, I have notice some use
On Mon, Feb 16, 2009 at 7:39 AM, Andrew Premdas 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 :)
>
I've created a ticket for it:
http://rspec.lighthouseapp.com/projects/16211-cucumber/ti
On Tue, Feb 17, 2009 at 10:32 PM, Ashley Moran
wrote:
>
> On 15 Feb 2009, at 19:47, Ben Mabey wrote:
>
>> To illustrate what Zach is saying here is an example I used on the wiki[1]
>> before:
>>
>> # Global setup
>> ActionMailer::Base.delivery_method = :test
>> ActionMailer::Base.perform_deliverie
On Thu, Feb 19, 2009 at 8:46 AM, Ben Mabey wrote:
> I'm hoping that the designer (or the co-worker programmer) who won the
> Cucumber logo contest will see this message...
>
> I'm looking for a hi-res or vector-based version of the Cucumber logo for
> use in a presentation. If the image is not ve
On Sun, Feb 22, 2009 at 1:42 PM, Joaquin Rivera Padron
wrote:
> hey Kaleem,
> I am myself no expert on w$ but the line throwing the error is
> def self.run_server
> IO.popen("jruby #{__FILE__}", 'r+')
When forking a new ruby interpreter, always use rbconfig:
require 'rbconfig'
ruby = File.
On Sun, Feb 22, 2009 at 9:19 PM, Mark Wilden wrote:
> On Sun, Feb 22, 2009 at 2:03 AM, Aslak Hellesøy
> wrote:
>> Den 22. feb.. 2009 kl. 02.29 skrev Mark Wilden :
>>
>>> I'm trying to set a specific host that all my Cucumber steps should
>>> use. Putting 'host! "beta.rupture.local"' in Before in
On Sun, Feb 22, 2009 at 8:47 PM, Yi Wen wrote:
> The rhythm for wrking with cucumber advertised by http://cukes.info/ is to
> write tests that fails first, then code that fixes it. Now my question is,
> what is the implication when combine this with Continuous Integration?
>
* Nobody checks in co
On Mon, Feb 23, 2009 at 3:36 AM, Phlip wrote:
> Yi Wen wrote:
>
>> I totally agree with you on this. I have a feeling a lot of people kind of
>> use cucumber as a sexy way for doing waterfall.
>
> "Storytests" are very well represented in the Agile development community in
> general. Cucumber is a
On Thu, Feb 19, 2009 at 4:49 PM, aidy lewis wrote:
> Hi,
>
> I know this seems all take and no give, but do we have an estimated
> final release date for Cucumber 0.2?
>
I'm afraid I can't give a release date. 0.2 is fixed(ish) scope, and
therefore time can't be fixed at the same time. I have a l
On Tue, Feb 24, 2009 at 10:30 AM, Rob Holland wrote:
> On Tue, Feb 24, 2009 at 9:17 AM, Matt Wynne wrote:
>
>> You can even use git commit --amend to commit on red (e.g at the end of the
>> day) and then change that commit later.
>
> While I think commit --amend is very useful, I'm not sure why y
On Tue, Feb 24, 2009 at 3:47 PM, Rob Holland wrote:
>> Because the longer you wait, the more your code will diverge from your
>> teammates'. If you don't commit often you rob them of the opportunity
>> to reduce merge hell.
>
> Please note I did say commit, and not push, and I inferred from Matt
>
On Wed, Feb 25, 2009 at 11:52 AM, aidy lewis wrote:
> Hi,
>
> When we create step defintions. For example:
>
> When /^that data is loaded$/ do
>
> end
>
> The above is seen in the Cucucmber run as implemented.
>
> Is it possible to put something within this method to enforce a skip flag?
>
I'm no
On Thu, Feb 26, 2009 at 1:27 PM, Steve Tooky wrote:
> http://tooky.github.com/2009/02/05/getting-started-with-cucumber-and-sinatra.html
>
Rob Holland updated the wiki yesterday:
http://wiki.github.com/aslakhellesoy/cucumber/sinatra
(He reports that the $0 trick described in the blog doesn't work
On Thu, Feb 26, 2009 at 12:03 AM, John Ivanoff wrote:
> manage_froobles.feature
> --
> Scenario: Delete frooble
> Given the following froobles:
> |name|color|description|
> |name 1|color 1|description 1|
> |name 2|color 2|description 2|
>
Just a quick heads up on Cucumber 0.2.
It's taking a little longer than I had thought. Getting the Background
feature working while preserving a simple AST and visitor traversal,
tag filtering etc opened up a little can of worms. I've been working
on this over the past weeks, and I'm getting close
On Thu, Mar 5, 2009 at 3:21 PM, John Small wrote:
> Where do I put cucumber.yml? I can't find anything mentioned in the
> documentation.
>
Here it is: http://wiki.github.com/aslakhellesoy/cucumber/running-features
Aslak
> Thanks
>
> John Small
> --
> Posted via http://www.ruby-forum.com/.
> ___
On Thu, Mar 5, 2009 at 4:43 PM, John Small wrote:
> David Chelimsky wrote:
>> On Thu, Mar 5, 2009 at 8:21 AM, John Small wrote:
>>> Where do I put cucumber.yml? I can't find anything mentioned in the
>>> documentation.
>>
>> In the project root (or wherever you're typing commands from).
>>
>> Che
On Thu, Mar 5, 2009 at 6:12 PM, wrote:
>
>
>
>
>
> - Original Message
>> From: John Small
> [David:]
>> > In the project root (or wherever you're typing commands from).
>
>> Is this documented anywhere, or are people expected to just know it?
>
> I added the information to the wiki in o
On Fri, Mar 6, 2009 at 1:27 PM, Tom Ten thij wrote:
>
> > I'm afraid I can't give a release date. 0.2 is fixed(ish) scope, and
> > therefore time can't be fixed at the same time. I have a lot of travel
> > the next month, so it will take a least a month I'm afraid.
>
> I know I for one would sure
On Mon, Mar 9, 2009 at 6:18 PM, James Byrne wrote:
> I must be missing something obvious here but I cannot seem to see it.
>
> I have this step definition:
>
> When /entity named "(.*)" has a legal name "(.*)"/ do |name, legal|
> myentity = Entity.find_by_entity_common_name!(name.hll_keycase)
>
On Mon, Mar 9, 2009 at 8:48 PM, James Byrne wrote:
> David Chelimsky wrote:
> >
> > No, no, no :)
> >
> > 5.should == 5
> > 6.should be > 5
> >
> > Read them aloud and they.should make(:sense).
> >
> > Cheers,
> > David
>
> Perhaps it is my dialect, but what is wrong with:
>
> "5 should be equa
On Tue, Mar 10, 2009 at 1:16 PM, Bart Zonneveld wrote:
> Hey list,
>
> Quick question: How can I check that a given word appears a number of times
> on a page?
> The page in question includes some XML, rendered with s and I
> want to test that a given node exists 10 times on that page.
>
On Wed, Mar 11, 2009 at 4:12 PM, Tim Walker wrote:
> Hi Guys,
>
> If I am generating diagnostics from a before do step can I get the
> name of the scenario?
>
This is implemented in 0.1.99.x:
http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/44
Aslak
>
> Many thanks,
>
> Tim
> __
On Thu, Mar 12, 2009 at 10:50 PM, Bill Venners wrote:
> Hi All,
>
> I've been working on BDD support in a test framework for Scala
> imaginatively called ScalaTest, and I want to add support for the
Very cool!
>
> notion of pending examples. I see three different "forms" of pending
> in RSpec
On Fri, Mar 13, 2009 at 8:05 AM, Korny Sietsma wrote:
> Hmm - it might be because I had both cucumber-0.1.16 and the
> aslakhellesoy-cucumber gem installed - I'll try to get rid of the old
> cucumber gem and see if that helps. (Though my initial attempts are causing
> all sorts of pain with thin
On Fri, Mar 13, 2009 at 9:42 AM, steven shingler wrote:
> Hi all,
>
> How can I get cucumber to tell me how long my entire feature set has
> taken to run?
>
By submitting a feature request :-)
http://wiki.github.com/aslakhellesoy/cucumber/get-in-touch
Aslak
>
> (In the same way that RSpec do
On Fri, Mar 13, 2009 at 11:37 AM, Pat Maddox wrote:
> On Mar 13, 2009, at 3:11 AM, Joseph Wilk wrote:
>
> Fedor Fomenko wrote:
>>
>>> What is the right place to load fixtures specific to a given scenario? I
>>> was thinking of using Worlds. Is it the right place for loading/deleting
>>> fixtures
On Fri, Mar 13, 2009 at 3:22 PM, Oliver Barnes wrote:
> I'm looking for feature examples for web apps, I imagine Balint is as well?
>
What kind of webapp? Merb? JEE? Rails? Sinatra? ASP.NET? PHP? other?
Aslak
>
> 2009/3/11 Matt Wynne :
> >
> > On 11 Mar 2009, at 19:46, Zach Dennis wrote:
> >
; think I understand the principles shown on the rspec book and the
> cucumber wiki, as well as on the discussions here, at times I've
> gotten stuck in writing features with my client, without patterns to
> draw from.
>
> 2009/3/13 aslak hellesoy :
> >
> >
> >
On Fri, Mar 13, 2009 at 10:28 PM, Tim Hart wrote:
> List,
>
> Quick question about Cucumber/Gherkin.
>
> I'm considering adding 'With' as a step definition to support scenarios
> like:
>
> Given a policy
> With a PCF practice state
> And a secondary risk
> ...
>
> I'm fairly new to ruby - but I c
On Sat, Mar 14, 2009 at 7:00 AM, Luke Melia wrote:
> Has anyone noticed a slowdown in performance of their cucumber suite from
> 0.1 to 0.2alpha?
>
> I haven't ruled out something in our suite itself, but the slowdown
> appeared to occur concurrently with our upgrade to 0.2alpha.
>
I haven't not
On Tue, Mar 17, 2009 at 1:43 PM, Bob Payne wrote:
> Aslak,
>
Hi Bob,
please use the mailing list:
http://wiki.github.com/aslakhellesoy/cucumber/get-in-touch
> I am using the
>
> --format html --out results.html --no_color
>
> directive in rake when running my cucumber tests.
>
> The last bit o
I'm happy to announce the release of Cucumber 0.2.0.
There are a some really exciting new features in this release. Some of the
ones I find most valuable are:
* tags
* better output
* autoformatting of features
* better i18n
* Ruby 1.9 support
* background
* guess mode
Full release notes are avai
On Wed, Mar 18, 2009 at 4:13 PM, Joseph Wilk wrote:
> David Chelimsky wrote:
>
>> 2009/3/18 aslak hellesoy :
>>
>>
>>> I'm happy to announce the release of Cucumber 0.2.0.
>>>
>>> There are a some really exciting new features in this re
ber's Autotest plugin.
>
> Thanks
>
> Emmanuel
>
>
> On Mar 18, 2009, at 12:21 PM, David Chelimsky wrote:
>
> 2009/3/18 aslak hellesoy :
>>
>>> I'm happy to announce the release of Cucumber 0.2.0.
>>>
>>> There are a some real
2009/3/19 Yi
> I have a step definition like this:
>
> Then "the account should be created" do
> account = Account.find_by_name("my shiny new account")
> p account.class
> account.should_not be_blank
> end
>
> When running this step, I got the error message:
>
> Account(id: integer, name: s
2009/3/19 Emmanuel Pinault
>
> On Mar 18, 2009, at 11:22 PM, aslak hellesoy wrote:
>
>
>
> On Wed, Mar 18, 2009 at 4:08 PM, Emmanuel Pinault wrote:
>
>> Great! Is there section for the new hook on reporting? I used the old
>> reporting to customized some of o
On Fri, Mar 20, 2009 at 9:45 AM, James Byrne wrote:
> I ran script/generate cucumber and since then I am having a few
> difficulties. For instance, take this case:
>
>
> When /see (?:an|the) authori(?:s|z)ation required message/ do
> Then "I should see \"You are not authori(?:s|z)ed\""
> end
>
im wrote:
> >>
> >> That did the trick. Thanks Aslak! Took a little while to figure out
> >> where it was in the Scenario object but it was pretty straight forward
> >> from there.
> >>
> >> T
> >>
> >> On Wed, Mar 11, 2009 at 1
On Fri, Mar 20, 2009 at 9:36 AM, beenimble wrote:
> In case of the following error when using Cucumber with Sinatra:
>
> No such file or directory - /usr/local/lib/ruby/gems/1.8/gems/
> polyglot-0.2.4/lib/views/index.erb
>
> Implement env.rb as specified at the following link so your app and
> it
On Sat, Mar 21, 2009 at 12:53 PM, s.ross wrote:
> In the history.txt for 0.2 is an "important note" toward the bottom of the
> announcement. (
> http://github.com/aslakhellesoy/cucumber/blob/d0555e4ca8a133f020efefd5a755da04bde3f57d/History.txt).
> This is really, *really* important for Rails user
Big news for all Java programmers out there.
Now you can use Cucumber with pure Java!
That's right, you don't have to write a single line of Ruby! (1)
All of your step definitions can be written as annotated methods in POJOs
(Plain Old Java Objects).
To get a taste of what this looks like, check
On Sun, Mar 29, 2009 at 10:23 PM, aidy lewis wrote:
> Hi,
>
> Is the stack trace not in the HTML by design?
>
Tried aslakhellesoy-cucumber 0.2.2.2?
Aslak
>
> Aidy
> ___
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mai
2009/3/30 Andrew Premdas
> Seem to be getting a problem when running a feature with background.
> Running the whole file works fine however running an individual feature
> fails. The background steps are
>
> Background:
> Given an admin user Philip exists
> When I login as Philip
> Then I s
http://github.com/aslakhellesoy/cucumber/blob/142b1618616ca688308d4ddd7fa3203bc0f435a0/History.txt
Enjoy!
Aslak
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Mon, Mar 30, 2009 at 9:00 PM, Tim Hart wrote:
> List,
>
> Given a Cucumber script like
>
> Then /^the (?:(first|second|third|fourth) line of the )?(.*) section of the
> (.*) should be (.*)$/ do |*args|
>#...
> end
>
> Cucumber errors with
> expected 0 block argument(s), got 4 (Cucumber::Ar
On Mon, Mar 30, 2009 at 11:37 PM, aslak hellesoy
wrote:
>
>
> On Mon, Mar 30, 2009 at 9:00 PM, Tim Hart wrote:
>
>> List,
>>
>> Given a Cucumber script like
>>
>> Then /^the (?:(first|second|third|fourth) line of the )?(.*) section of
>> the (.
On Tue, Mar 31, 2009 at 11:34 AM, Josh Chisholm wrote:
> We were using the following style of setting up a world:
>
> World do
> def a_helper
>...
> end
> end
>
> I don't know where I came up with that. I now realise we should have
> been returning a world class here, but the above style see
On Tue, Mar 31, 2009 at 2:06 PM, Kevin Olbrich wrote:
> In Cucumber...
> Is there a simple way to find out what file a scenario is defined in?
>
No, but there is a dirty way:
Before do |scenario|
f = scenario.instance_variable_get('@feature')
if f
puts f.file
end
end
The scenario var
On Tue, Mar 31, 2009 at 5:22 PM, Mark Lynn wrote:
>
> When I use Aslak's version of Treetop as Joseph suggested, this does get
> rid of the polyglot error. However, I still get the following when running
> from the command line:
>
> $ cucumber -r features/steps -r features/support/env.rb
> featur
2009/4/2 Tim Harper
> Is currently a way to add a upon failure hook? I'd like to make it so
> that, in the event of a failed assertion, Webrat will take the last
> requested page and open it in a browser.
>
http://wiki.github.com/aslakhellesoy/cucumber/hooks
After do |scenario|
# currently n
On Fri, Apr 3, 2009 at 6:04 PM, Zach Dennis wrote:
> I apologize in advanced if this seems like a shameless plug, but it
> feels like an appropriate place to announce it. The first week of June
> I'm going to teaching a class on BDD w/Rails in sunny west Michigan:
>
> Announcement - http://mutual
On Sun, Apr 5, 2009 at 5:35 AM, Brandon Olivares
wrote:
> Sorry for another post. I have spec.opts writing certain formats to certain
> files. It looks like this: --colour --format progress --format
> nested:doc/nested.txt --format profile:doc/profile.txt --loadby mtime
> --reverse So I took a loo
On Sun, Apr 5, 2009 at 10:40 PM, GMin, Morten K. Holst wrote:
> Hello Rspec Users,
> I was wondering how you specify a nested resource in cucumber. So for
> example:
>
> Given I have a blogpost titled Question For Nice Rspec Users
> When I am on the list of comments for Question For Nice Rspec Use
There are a lot of open tickets in Cucumber, and it's hard for me to know
which ones to prioritize.
Several of them are either obsolete or not very important. I need your help
to decide.
I'm therefore going to put all tickets on hold. If you feel a particular
ticket should be reopened, please comm
On Tue, Apr 7, 2009 at 2:50 PM, aslak hellesoy wrote:
> There are a lot of open tickets in Cucumber, and it's hard for me to know
> which ones to prioritize.
> Several of them are either obsolete or not very important. I need your help
> to decide.
>
> I'm therefore
On Tue, Apr 7, 2009 at 4:11 PM, aslak hellesoy wrote:
>
>
> On Tue, Apr 7, 2009 at 2:50 PM, aslak hellesoy
> wrote:
>
>> There are a lot of open tickets in Cucumber, and it's hard for me to know
>> which ones to prioritize.
>> Several of them are either
On Tue, Apr 7, 2009 at 4:30 PM, aidy lewis wrote:
> On 07/04/2009, Zach Dennis wrote:
> > On Mon, Apr 6, 2009 at 12:21 PM, Ben Mabey wrote:
>
> > > My best
> > > suggestion would be to set multiple breakpoints and hit "c" to
> continue to
> > > the next one so you can skip through all of Cu
Ben Mabey has accepted my invitation to be on the core Cucumber team.
Ben has been a long time contributor to Cucumber's ecosystem and knows it
inside out.
Here is a quote from IRC today:
mabes: Yeah but you're the cucumber God.
The core Cucumber team now consists of Joseph Wilk, Ben Mabey and
On Fri, Apr 10, 2009 at 5:29 PM, John Goodsen wrote:
> so I'm still stumped... how do I tell keep cucumber from loading the *SAME*
> steps more than once when I run multiple scenarios? I can't be the only
> person to experience this... I must be doing something wrong. I'm loading
> step classes
On Sat, Apr 11, 2009 at 5:07 AM, Luis Lavena wrote:
> On Fri, Apr 10, 2009 at 9:19 PM, Colfer, Brian
> wrote:
> >
> > It looks like cucumber is having the problem with the letter "a" again …
> a
> > problem with handling the angstrom character and windows:
> >
>
I don't see any of you mentioni
On Sun, Apr 12, 2009 at 5:35 PM, Ben Mabey wrote:
> Matt Wynne wrote:
>
>>
>> On 11 Apr 2009, at 01:07, James Byrne wrote:
>>
>>
>>> http://mwrc2009.confreaks.com/14-mar-2009-15-00-bdd-with-cucumber-ben-mabey.html
>>>
>>
>> Great job with the talk Ben, it's a really good intro to Cucumber and I
>
On Sun, Apr 12, 2009 at 6:47 AM, Stephen Eley wrote:
> On Sat, Apr 11, 2009 at 2:02 PM, Ashley Moran
> wrote:
> >
> > I was just idly thinking, could a code-coverage based system could be
> > combined with some sort of failure (fragility) history to balance the
> time
> > cost of heavy feature r
On Mon, Apr 13, 2009 at 10:09 PM, Matt Wynne wrote:
>
> On 13 Apr 2009, at 12:46, aslak hellesoy wrote:
>
> A couple of years ago I was on a project that had fallen into the trap of
>> too many integration tests (exactly the horror scenario that J.B.
>> Rai
201 - 300 of 604 matches
Mail list logo