Hey Ben,
It'd be kinda cool if there was a sort of before and after for a feature
rather than each scenario. Is there?
I think that would be particularly *un*cool actually, because people would
start using it without understanding the implications.
Implications: Coupled, brittle scenarios.
On Sun, Apr 26, 2009 at 6:32 AM, aslak hellesoy
aslak.helle...@gmail.comwrote:
I recently added pure java support to Cucumber, meaning steps can be
written in Java instead of Ruby.
http://github.com/aslakhellesoy/cucumber_java/tree/master
and I've been introducing a java team to real
I'd like to load all of my examples into memory without actually
running them, so I can traverse the object tree and get descriptions
etc. I'm finding it tricky to figure out how to do that though.
There seems to be an inherent assumption in the framework that that
examples will actually run.
So
On 29 Apr 2009, at 07:23, Marty Andrews wrote:
I'd like to load all of my examples into memory without actually
running them, so I can traverse the object tree and get descriptions
etc. I'm finding it tricky to figure out how to do that though.
There seems to be an inherent assumption in the
Bookmarked for later research -- cheers for pointing that out!
2009/4/29 Chris Flipse cfli...@gmail.com
I have a subapp that authenticates remotely, and pulls information from the
main app using ActiveResource, and a token provided in a cookie, which
sounds at least close to what you're
Thank you Aslak.
Let me see whether I can make use of Background for implementing the
dependency issue that I mentioned.
I think implementing hooks in cucumber_java will be useful for us, since
we can make use of that to get a detailed report with all the required
information while running
On Wed, Apr 29, 2009 at 11:10 AM, Neema Cheriyath li...@ruby-forum.comwrote:
Thank you Aslak.
Let me see whether I can make use of Background for implementing the
dependency issue that I mentioned.
I think implementing hooks in cucumber_java will be useful for us, since
we can make use of
Hi Aslak,
I have created a new ticket in github for implementing hooks
in cucumber_java. Please find the link:
http://github.com/aslakhellesoy/cucumber_java/issues/#issue/2
Thanks,
Neema
--
Posted via http://www.ruby-forum.com/.
___
Has anybody had any luck getting Cucumber, Webrat and Selenium to play
nicely together for SSL sites?
My test environment:
- nginx front-end accepting SSL requests, proxying them to mongrel
back-end
- mongrel back-end accepting normal HTTP requests
- application routes configured with
On Wed, Apr 29, 2009 at 1:23 AM, Marty Andrews ma...@martyandrews.net wrote:
I'd like to load all of my examples into memory without actually
running them, so I can traverse the object tree and get descriptions
etc. I'm finding it tricky to figure out how to do that though.
There seems to be
On 28/04/2009, at 7:23 AM, Kero van Gelder wrote:
Hi list Clifford,
Looks like installing hoe (which brings in rubyforge and rake)
solved the problem below.
I just fixed that:
Thanks Aslak, that was quick, but...
I had to try that, and the 0.3.1 release made that very easy.
Didn't help.
That did the trick. I blew out eclipse and reinstalled my Aptana
directly. Re-added my RadRails Plugin and gems Cucumber, RSpec, RSpec-
rails and WebRat. There was one clue I found that said when using
Cucumber with windows, I should insert the line 1 $KCODE=' ' into my
features/support/env.rb
There's about 3 more gems you need to install. RSpec, RSpec-rails and
WebRat. There's also a great introductory article I found on-line at
http://blog.rubyyot.com/2009/01/chores-a-test-driven-website/
I'm only half-step ahead of you and feel your pain.
Good luck,
Wayne
On Apr 28, 12:47 pm,
On 29/04/2009, at 8:54 PM, David Chelimsky wrote:
On Wed, Apr 29, 2009 at 1:23 AM, Marty Andrews
ma...@martyandrews.net wrote:
I'd like to load all of my examples into memory without actually
running them, so I can traverse the object tree and get descriptions
etc. I'm finding it tricky to
On Wed, Apr 29, 2009 at 6:09 AM, Marty Andrews ma...@martyandrews.net wrote:
On 29/04/2009, at 8:54 PM, David Chelimsky wrote:
On Wed, Apr 29, 2009 at 1:23 AM, Marty Andrews ma...@martyandrews.net
wrote:
I'd like to load all of my examples into memory without actually
running them, so I
Presumably you only need these if you are *building* cucumber?
If you just want to use cucumber, it should be as simple as gem
install cucumber, and it should get all the other dependencies. On
my machine it seemed to install treetop, polyglot, and presumably a
few others - but I don't have
On 29/04/2009, at 9:41 PM, David Chelimsky wrote:
On Wed, Apr 29, 2009 at 6:09 AM, Marty Andrews
ma...@martyandrews.net wrote:
On 29/04/2009, at 8:54 PM, David Chelimsky wrote:
On Wed, Apr 29, 2009 at 1:23 AM, Marty Andrews ma...@martyandrews.net
wrote:
I'd like to load all of my
Hi,
Aslak twittered this NetBeans Cucumber module :
http://members.chello.at/server/modules.html
I have tried to manually install it, but NetBeans in complaining about:
Missing required modules for Plugin Cucumber Features:
Generic Languages Framework [module org.netbeans.modules.languages/0-1
Aslak,
Will do, I just thought someone on the list may have tried it.
Aidy
2009/4/29 aslak hellesoy aslak.helle...@gmail.com:
Hi,
Aslak twittered this NetBeans Cucumber module :
http://members.chello.at/server/modules.html
I have tried to manually install it, but NetBeans in complaining
On Wed, Apr 29, 2009 at 6:50 AM, Marty Andrews ma...@martyandrews.net wrote:
On 29/04/2009, at 9:41 PM, David Chelimsky wrote:
On Wed, Apr 29, 2009 at 6:09 AM, Marty Andrews ma...@martyandrews.net
wrote:
On 29/04/2009, at 8:54 PM, David Chelimsky wrote:
On Wed, Apr 29, 2009 at 1:23 AM,
Hi,
Aslak twittered this NetBeans Cucumber module :
http://members.chello.at/server/modules.html
I have tried to manually install it, but NetBeans in complaining about:
Missing required modules for Plugin Cucumber Features:
Generic Languages Framework [module
[snip]
I'm really sorry about this, but I just couldn't wait for tonight to
add this:
http://github.com/dchelimsky/rspec/commit/a4b3aac62e940c50077bdeb7d9ad5ee11e02116d
The release *will* have to wait for tonight, but you can easily build
the gem locally:
On Wed, Apr 29, 2009 at 7:42 AM, Korny Sietsma ko...@sietsma.com wrote:
Presumably you only need these if you are *building* cucumber?
If you just want to use cucumber, it should be as simple as gem
install cucumber, and it should get all the other dependencies. On
my machine it seemed to
On Apr 29, 6:04 am, Wincent Colaiuta w...@wincent.com wrote:
Webrat will automatically start the Selenium Java server process and
an instance of Mongrel when a test is run. So there is no way that I
can see to force Webrat to launch the Selenium server process with the
custom Firefox
James Byrne wrote:
I have reached this point in testing using email-spec:
...
The email To: header value and the current_email_address are the same
insofar as I can tell. But the email_spec matcher is not finding that
address in the deliveries array. Any ideas as to what I am missing?
I
Hi,
I am joining a project which is using Rails 2.0.2, Rspec as a plugin 1.1.4
The problem is specs take 10 minutes to run and I have no time to optimize
them now.
I am adding cucumber features and would like to run them with autotest
(ZenTest 4.0.0).
Is there a way to have autotest running
James Byrne wrote:
James Byrne wrote:
I have reached this point in testing using email-spec:
...
The email To: header value and the current_email_address are the same
insofar as I can tell. But the email_spec matcher is not finding that
address in the deliveries array. Any ideas
Hi,
I am joining a project which is using Rails 2.0.2, Rspec as a plugin 1.1.4
The problem is specs take 10 minutes to run and I have no time to optimize
them now.
I am adding cucumber features and would like to run them with autotest
(ZenTest 4.0.0).
Is there a way to have autotest running
http://www.pmamediagroup.com/2009/04/what-netbeans-651-can-now-recognize-my-cucumber-feature-files/
is another plugin and works well on Nb 6.5.1
JM
aidy_lewis wrote:
Hi,
Aslak twittered this NetBeans Cucumber module :
http://members.chello.at/server/modules.html
I have tried to
Hello,
I'm trying to localize Cucumber to work with Hebrew.
I have added the needed translation to languages.yml
I converted the division.feature properly. but when I used the
addition.feature cucumber gives me the following error message:
$ ../../../bin/cucumber --language=he
After some consideration, I agree with Aslak's and Ben's advice
against keeping context across an entire feature.
But I am still not convinced that it makes sense for create a new
context for each row of an example table. As a newbie, I expected the
Before: block would be run once before the
On Wed, Apr 29, 2009 at 1:09 AM, Stephen Eley sfe...@gmail.com wrote:
On Tue, Apr 28, 2009 at 10:57 PM, Nicholas Van Weerdenburg
vanwe...@gmail.com wrote:
Looking around outside of the book, reading reviews of RSpec on the web
seems tricky. Most reviews seem very dated, and as a result are
On Apr 29, 2009, at 8:45 AM, Arco wrote:
But I am still not convinced that it makes sense for create a new
context for each row of an example table. As a newbie, I expected the
Before: block would be run once before the scenario, not once before
every row of the example table. (so did Ben
On Wed, Apr 29, 2009 at 8:45 AM, Arco akl...@gmail.com wrote:
Approach A ---
Before:
Given I have a clean database
Scenario Outline: Signup Scenarios
Given I start on the login page
When I signup as userid
Then I should see message
Examples:
| userid |
On Wed, Apr 29, 2009 at 12:47 PM, Rick DeNatale rick.denat...@gmail.comwrote:
On Wed, Apr 29, 2009 at 1:09 AM, Stephen Eley sfe...@gmail.com wrote:
On Tue, Apr 28, 2009 at 10:57 PM, Nicholas Van Weerdenburg
vanwe...@gmail.com wrote:
Looking around outside of the book, reading reviews of
On Wed, Apr 29, 2009 at 2:04 PM, Nicholas Van Weerdenburg
vanwe...@gmail.com wrote:
Thanks. That's what I'm trying to parse- a lot of people are inspired to
blog when something is new, but less so later on, so there is a lot of
2007/early 2008 posts from basic google searches.
The evolution
the book The RSpec book has an example where they build an app with
just ruby. (Describing Application Behaviour with Cucumber)
You can download some sample chapters.
http://www.pragprog.com/titles/achbd/the-rspec-book
This has been a big help for me.
also Railscast (http://railscasts.com/) has
True, but cucumber is useful for lots of different kinds of projects.
I'm currently using it to build a java webapp, so I don't need much
beyond cucumber, selenium, and selenium-client.
But agreed, if I was in rails-land (sigh) then I'd want webrat and rspec-rails.
- Korny
p.s. I'm aware webrat
So basically, I want to do something like this:
examples = load_examples_without_running
examples.each {|example| puts example.description}
[snip]
I'm working into a big corporate in Australia, and they are demanding
traceability of tests back to requirements. I'm already using Mingle
Hi
I am looking at the change in the API in the history.txt and looks
like 3 visitor method are now gone. They are replaced by one. Also for
Table, the status is not passed anymore...
Looking at the current HTML formatter in 0.3.1, the 3 methods are
still present and so is the code .
On 30/04/2009, at 7:59 AM, Kero van Gelder wrote:
So basically, I want to do something like this:
examples = load_examples_without_running
examples.each {|example| puts example.description}
[snip]
I'm working into a big corporate in Australia, and they are demanding
traceability of tests
Korny Sietsma wrote:
True, but cucumber is useful for lots of different kinds of projects.
I'm currently using it to build a java webapp, so I don't need much
beyond cucumber, selenium, and selenium-client.
I'm curious, with your current setup do you insert data directly into
your database
We are actively debating this very topic :)
For most stuff, we create data through the UI.
We have a Before block that prunes the database back to a known
state before each scenario, using the ruby 'sequel' library. It's
pretty fast, but it does mean we have to be careful in our selenium,
that
rspec version 1.2.5 has been released!
* http://rspec.info
* http://rubyforge.org/projects/rspec
* http://github.com/dchelimsky/rspec/wikis
* rspec-de...@rubyforge.org
Behaviour Driven Development for Ruby.
Changes:
### Version 1.2.5 / 2009-04-29
* enhancements
* name argument to mock/stub
rspec-rails version 1.2.5 has been released!
* http://rspec.info
* http://rubyforge.org/projects/rspec
* http://github.com/dchelimsky/rspec-rails
* http://wiki.github.com/dchelimsky/rspec/rails
* rspec-de...@rubyforge.org
Behaviour Driven Development for Ruby on Rails.
Changes:
### Version
Korny Sietsma wrote:
We are actively debating this very topic :)
For most stuff, we create data through the UI.
We have a Before block that prunes the database back to a known
state before each scenario, using the ruby 'sequel' library. It's
pretty fast, but it does mean we have to be careful
We did think about using JRuby to write data through the domain -
unfortunately it looked fiddly, especially as there are quite a few
things our ruby code wants to do that the domain doesn't cover.
For example, mass deleting data - in the domain, almost everything is
soft-deleted, and everything
47 matches
Mail list logo