Displaying 20 results from an estimated 20000 matches similar to: "Simple Display of Cucumber Results in Web Page?"
2009 Nov 05
1
Cucumber cannot find a static page located in public folder
Hi,
I recently started with Cucumber. I''m having an issue with a static page
that I locate in the public folder.
When an user registers to the site I send an activation code via email.
That notification is show to the user by redirecting to a static page
located in the public folder.
If I start the server and register I get redirected properly to the
static page.
But when I run the
2010 Jul 08
3
my web app seed data and cucumber
I''m writing a web app which is used a SaS. Each customer has their own
db and app directory. I have a rake task which creates all necessary
minimum data to run their website: default rights and roles, a
superadmin user, a "us_states" table already populated, some local
depots and terminals (it''s a logistics app).
I don''t have any cucumber scenarios for it and
2010 Feb 26
0
ruby script/cucumber -tags producing a gem error
When I do "ruby script/cucumber" the tests run no issues. When I do
the same thing but -tags tag_name I get a gem version error:
Where is it coming from and why??
Using the default profile...
RubyGem version error: rack(1.0.1 not = 1.1.0)
(Gem::LoadError)
F:/BACKUP/Backup/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in
`report_activate_error''
2009 May 06
0
Cucumber, Webrat, RSpec and Mechanize for Non-Ruby Apps
The folks here have given me the task of figuring out if cucumber can
be used successfully to test some of our apps.
I have the latest versions of rails, mechanize, cucumber webrat and
rspec installed.
#/cuketest/features/google.feature
Feature: New PC
In order to get a sweet new PC
As a apple nerd
I want to find apple.com
Scenario: Get a sweet new computer
Given I visit
2009 Apr 15
0
Ambigous error while running cucumber features
Hello,
I was just trying out a cucumber-java example with selenium
integrated. My feature file has two scenarios and while executing the
command "cucumber features", It is executing the first scenario
succesfully, but for the second scenario I am getting the ambiguity
error (Cucumber::Ambiguous):
Scenario: Find what I''m looking for in yahoo #
2012 Feb 02
1
Missing files with rails generate cucumber:install
when ranning cucumber:install
and generate me this files
<code>
create config/cucumber.yml
create script/cucumber
chmod script/cucumber
create features/step_definitions
create features/support
create features/support/env.rb
exist lib/tasks
create lib/tasks/cucumber.rake
gsub config/database.yml
gsub config/database.yml
force config/database.yml
</code>
im searching for the
2010 Jan 19
0
rake cucumber features fails
Hey Guys,
Ubuntu 9.10
Env: Ruby 1.9.1
Rails 2.3.5
RSpec 1.3.1
Cucumber 0.6.1
Cucumber-rails 0.2.3
I''m starting with BDD with Cucumber/RSpec.
After creating a rails app, I did script/generate rspec and cucumber.
First problem, I can''t run cucumber by its own, as Ryan Bates does in his
screencast.
He freely runs "cucumber features -n"
2012 Jul 08
0
rake cucumber:ok not working
Hi all,
i am learning cucumber and when i am trying to run rake cucumber:ok
resulting in following error:
C:/Ruby187/bin/ruby -S bundle exec cucumber --profile default
*** WARNING: You must use ANSICON 1.31 or higher (
http://adoxa.110mb.com/ansicon
) to get coloured output on Windows
Using the default profile...
Feature: Creating projects
In order to have projects to assign
2008 Nov 05
5
rake features and cucumber feature/name not producing same result
Hi all.
If I run rake features or cucumber features/* I get one failing FIT scenario
in one of my features.
If I then run that feature that contains the FIT table with the failing
scenario manually, it passes.
I run it again with rake features or cucumber features/* it fails, run
individually, it passes.
Obviously some state is carrying over between the features.
Any idea where i would start
2009 Sep 16
1
Problems while loading 'spec/stubs/cucumber'
Rodrigo Flores wrote:
> Hi
>
> I''m reading the rspec book and I''m having problems when I require the
> file ''spec/stubs/cucumber''. When I go to an IRB prompt and type
> require ''spec/stubs/cucumber'' after requiring another libraries [1] I
> get the false in ''spec/expectations'' and an error in
>
2008 Dec 03
3
Intermittent Cucumber exception
Hi
Anyone recognise this exception, and know what causes it to happen
occasionally?
Thanks
Ashley
Scenario: new story appears on
feed # features/descriptions/
story_notification.feature:12
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/cucumber/
broadcaster.rb:15:in `write'': Bad file descriptor (Errno::EBADF)
from
2009 Apr 27
2
uninitialized constant ActionController running Cucumber features in Aptana/RadRails IDE
I''m just starting on BDD. I installed the gems for webrats and
cucumber.
I also ran the following in the Ruby shell:
>rake gems:install RAILS_EN=test
>script/generate cucumber
These commands seemed to create the expected features and lib folders
in my project.
I''m using the eclipse framework with Aptana and RadRails as my IDE.
However, when I run:
>cucumber features
2009 Mar 18
2
Cucumber failing with ''uninitialized constant Spec::Ruby''
I''ve just upgraded RSpec to 1.2 on a Rails 2.2.2 app.
rake features fails with the following error:
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:442:in `load_missing_constant'': uninitialized constant
Spec::Ruby (NameError)
from /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:77:in
2008 Dec 04
2
Cucumber and Rcov
I am now trying to get rcov to work for me, without much success. I
stole the rake task code from the cucumber site:
desc "Run all features"
task :features => "features:all"
task :features => ''db:test:prepare''
require ''cucumber/rake/task'' #I have to add this -mischa
namespace :features do
Cucumber::Rake::Task.new(:all) do |t|
2010 Jul 01
1
using rSpec stub in Cucumber with rSpec2
Hello,
I have a Rails3beta4 project where I want to use rSpec stubs in a Cucumber
feature. Unfortunately it looks like requiring ''spec/stubs/cucumber'' in
env.rb does not work anymore: I get a "no such file to load --
spec/stubs/cucumber (LoadError)" error.
Is it possible to use rSpec stubs in Cucumber with rSpec2? If not, is there
any other viable alternative?
Thanks
2008 Dec 06
4
Autospec does not work w/ cucumber features?
Hi!
And now for the second part of the subject of my previous mails :)
$ cat cucumber.yml
default: .
autotest: -v .
autotest-all: -v -f progress .
$ cucumber -i . -f progress
PP
Pending Scenarios:
1) enlightenment (meditation)
$ AUTOFEATURE=true autospec # bug! prompt returns immediately, ZenTest gem not a dependency? a warning that autotest was not found would be nice.
$ sudo gem
2010 Dec 16
1
Ambiguous match error for Cucumber
Hi,
I am trying out the cucumber tutorial
http://www.ultrasaurus.com/sarahblog/2008/12/rails-2-day-3-behavior-driven-development/
My tasklist.feature file is like as follows
"
Feature: Tasks
In order to keep track of tasks
People should be able to
Create a list of tasks
Scenario: List Tasks
Given that I have created a task "task 1"
When I go to the tasks page
Then I should see
2008 Sep 12
0
cucumber setup and teardown
Hi all,
I added a section to Cucumber''s wiki about converting StoryListeners
into Cucumber''s API. Since I''m still learning my self I''d appreciate it
if someone could look at what I wrote and make sure I didn''t miss anything.
http://github.com/aslakhellesoy/cucumber/wikis/migration-from-rspec-stories
I was also wondering if Cucumber''s API has
2009 Apr 29
1
Cucumber/Webrat/Selenium + SSL?
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 ":protocol => ''https''" so that
URLs generated with "_url"
2008 Nov 03
2
Cucumber and autotest
Hey all,
Does anyone know how to disable the cucumber autotest support on a
project? With this commit:
http://github.com/aslakhellesoy/cucumber/commit/93470e2580b5e3cfe0c8eb3fce86e21bf8afa219
The cucumber features are worked into the autotest cycle automatically.
This is cool, but on some projects I don''t think it fits well with my
red->green->refactor cycle. Any ideas on