|
Is there a BeforeStep equivalent to AfterStep in Cucumber?
If not - has anyone found a solution / workaround?
Started by Ryan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
According to the documentation on Hooks on the Cucumber Wiki on GitHub, the answer.
|
|
Is it possible to use Cucumber outside Rails? I'd like to start using it for testing some of my PHP applications, but I really don't know how to start.
Probably the easiest way would be creating a Rails project only to run Cucumber features, but that ...
Started by Darth on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Citaded from cucumber website:
Cucumber works with Ruby, Java, .NET, Flex or web applications://wiki.github.com/aslakhellesoy/cucumber/php
It is easy to use cucumber with PHP, even managing the database..
|
|
Is there a way to do integration tests with Rspec without using Cucumber? I prefer using just plain old Webrat. Thanks.
Started by gsmendoza on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
So far, the only article I found is this
webrat-with-rspec-no-cucumber.
I use cucumber myself.
|
Ask your Facebook Friends
|
I had cucumber 0.6.1 working quite fine... but I ran the gem update cucumber command, and things went smoothly. Then when I decided to run the cucumber features command, I received this error:
Using the default profile... no such file to load -- cucumber...
Started by Jess on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Have you tried to regenerate cucumber files with script/generate cucumber --webrat ? Maybe still getting:
no such file to load -- cucumber/webrat/element_locator (MissingSourceFile) /opt:in `require' /opt/jruby/lib/ruby/gems/1.8/gems....
|
|
Hi,
I'd like to enable the business analysts to be able to write all of their specs for features, scenarios and steps that is Cucumber friendly using Gherkin.
I've read some of the basic info on the github site for Cucumber and from doing a quick Google...
Started by Angela on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In terms of how to write steps....
Having just worked on an agile project using cucumber for the first time I think that the best way to learn cucumber and gerkin.
A great presentation on Cucumber at Mountain West Ruby Conference 2009.
|
|
Can someone please clarify using a SIMPLE user story the full slice of what Cucumber would be used for and what RSpec would be used for? I purchased the RSpec book the other day and have been going through it. The author seems to be quite vague at times...
Started by Phil on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Cucumber is used to explain ( make a description ) of a part (story) of the application rather than unit tests or behaviour tests (which is the focus of RSpec)
So, IMHO Cucumber tests (stories) do are using cucumber to both test the....
|
|
Quick one, has anyone come across a library similar to Ruby's cucumber (a human readable DSL for defining use case stories that can be tested against) in the .NET sphere?
Started by Owen on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
I wrote up a blog post detailing the process I followed ... .
There's an example for how to test .NET code in the Cucumber examples directory and documentation on the Cucumber Wiki for both .NET and Mono .
It's called Cucumber .
|
|
Profiler/profiling related issue with Cucumber testing.
One of our cucumber tests run fairly slow. In stead of guessing on where our application is spending time, I'd like to know programatically.
How do I trigger a cucumber test with a profiler???
What...
Started by Jesper Rønn-Jensen on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Useful result
$ PROJECT_DIR=`pwd` $ which cucumber /usr/local/bin/cucumber $ ln -s `which cucumber_overview.feature:36
This actually runs the single cucumber scenario on line 36, but the result is not particularly useful
....
|
|
Hi,
I'm trying to test a JS confirmation dialog with Cucumber on Rails. I have a window.onbeforeunload event handler that will prompt you with a confirmation dialog if you try to navigate away from the page but I have no idea how to test it, anyone have...
Started by Bart Jedrocha on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I have tested this using Selenium and Cucumber before, but can't seem to find be an interesting exercise to....
My guess is that you want Simulated with Cucumber in such cases.
You can use Webrat or Selenium with Cucumber to test this.
|
|
So I have some data loading in migrations, for instance a default user is created when the users table is made, and certain user Roles are created (like foo_admin) are created when the foos table is made.
The problem is cucumber doesn't like this, since...
Started by Daniel Huckstep on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Was to run the cucumber script directly without rake, but this can require a some configuration in Rails of rails there may also be something in the bin/cucumber script or env.rb file that loads the schema file.
|