Displaying 20 results from an estimated 7000 matches similar to: "rake cucumber features fails"
2010 Sep 20
2
For Your Own Info: Rails 2.3.2 is incompatible with Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17)
Railers,
I am running an application on Rails 2.3.2. For some reason within our
organization, we wish to remain on this version of Rails. For BDD/Testing,
we use Cucumber. So I installed Cucumber (0.8.5), Capybara (0.3.9) and
Selenium-webdriver (0.0.17). But when I run Cucumber on any feature, I get
an error saying *" wrong number of arguments (2 for 1) (ArgumentError)"*,
(Check here
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 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 #
2010 Apr 17
5
behavioural testing of puppet manifests with cucumber-puppet
Hi,
I''d like to announce a little tool I have written, called cucumber-
puppet. It supports writing behavioural tests for your puppet
manifest, using cucumber. This allows for BDD-style manifest
development and fearless refactorings.
http://blog.nistu.de/cucumber_puppet_0_0_3_released.html
Let me know what you think!
cheers,
Nikolay
--
You received this message because you are
2009 May 13
0
Cucumber + Selenium: Programmatically Starting a Test Server
Hi All,
I am trying to learn BDD using the Cucumber framework, and am
integrating Selenium for client side tests. I''ve been playing with
refactoring my cucumber installation a bit, and have pulled the code
to start the selenium server out into a profile-configuration file,
similar to env.rb:
# start selenium
server
@@browser = Selenium::SeleniumDriver.new("localhost", 4444,
2012 May 22
6
Beginning with BDD: Rspec or Cucumber? What is better documented?
Hey everybody
I''m sorry, I know that this question seems to arise every few moments,
but I
think in my case it''s a bit special (but doesn''t everybody?).
Well, I''m working with RoR on a private level since v1.0, and my
knowledge about both Ruby and Rails are on a basic level (but definitely
does exist), but I''m in no means near being an expert yet.
In
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
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
2011 Jul 24
2
seeking a rails 3 cucumber rspec example project
Hello,
I was hoping that someone may point me to a github public repo that is a
rails 3, outside in designed project with cucumber and Rspec. I read the
Rspec book, though found it too brief and just surfing Github I only find
gems and rails 2 projects. I guess one thing that I don''t understand fully
well is the role of unit testing. The feeling I get is pure BDD doesn''t
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 Jul 09
2
rake db:migrate confusion following Cucumber upgrade
I recently upgraded Cucumber gem from 0.1.16 to 0.3.11. I ran ruby
script/generate cucumber.
When I ran rake features I received an error telling me I had pending
migrations and should run rake db:migrate. I ran rake db:migrate
despite fact that my db is up to date. I was confused that the
migrations ran from the beginning. However the migrations seem to
have no effect on my database.
2009 Jan 30
3
Pass a variable from rake to steps file in cucumber
Can anybody tell me how to pass a variable from the rake command to my steps
file using cucumber? I have the following in my Rakefile:
## Rakefile
Cucumber::Rake::Task.new do |t|
profile = ENV[''PROFILE''] || ''default''
browser_type = ENV[''BROWSER''] || ''*chrome''
t.cucumber_opts = "--profile #{profile}"
end
I
2010 Jan 11
4
Autotest - Can make an-install work.
Hey there,
I''m trying to install the autotest.
After installing all the pre-requisites, I installed the sudo gem install
autotest-notification
It tells me to execute an-install
which gives me, command not found.
Any1?
[]''s
Rodrigo Dellacqua
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to
2011 Nov 02
3
form_for text_field
I have a form
... html .....
<% form_for @person do |f| %>
... html .....
<%= f.text_field :last_name %>
... html .....
<% end %>
When last_name field of @person doesn''t contains french special symbols
like ''é'', all characters are displayed in the input control
(f.text_field :last_name ).
Else only symbols before french special symbol are
2009 Mar 25
5
[Cucumber] ANN: Cucumber with pure Java
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 out the simple example in the
cucumber_java project on GitHub:
* README for
2013 Jun 29
0
rake db:create giving undefined method `' for nil:NilClass
My ruby version is 1.8.7
I have installed mysql-essential-5.0.90-win32
and using Fedena 2.3.5
List of all gems installed:*
columnize (0.3.6)
declarative_authorization (0.5.1)
fattr (2.2.1)
ffi (1.9.0)
gem_plugin (0.2.3)
highline (1.6.19)
i18n (0.4.2)
metaclass (0.0.1)
mime-types (1.23)
mocha (0.14.0)
mongrel (1.1.5)
mysql (2.8.1)
net-ping (1.6.0)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format
2007 May 22
3
BDD screenscast
I posted a quick screencast demonstrating some BDD with RSpec yesterday:
http://wincent.com/a/about/wincent/weblog/archives/2007/05/
behaviourdriven.php
I''m a C/Objective-C programmer who knows a bit of Ruby, almost
nothing about Rails, and in BDD I can really only claim "new but
interested" status.
It''s not scripted, it''s totally improvised and
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
2009 Mar 31
7
[Cucumber] Running single feature from command line
I am using Cucumber 0.2.3 and am having problems running a single
feature. In particular, the cucumber Textmate bundle was not working
so I traced it back and discovered that I could not run single files
or features from the command line either. My setup has the following
line in cucumber.yml
default: -r features/support/env.rb -r features/support/plain.rb -r
features/steps
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody
I''m currently reading through the Pragmatic Programmers RSpec book, and
I really enjoy it.
But I’m facing some problems because of the fact that the book is
already some years old, I guess. I have installed rvm and use Ruby
1.9.3, and I didn’t really get some Rails code examples to work
properly, so I tried it with a 1.8.7 installation, but there I had some
other problems