Displaying 20 results from an estimated 7000 matches similar to: "Partitioning Specs"
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
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
2006 Mar 29
2
Textdrive Rails 1.1 Error - Dependencies::LoadingModule
Textdrive upgraded to Rails 1.1 already.
I have an older rails app, and am now getting the following error:
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.0
/lib/active_support/depende
ncies.rb:112:in `const_missing'': uninitialized constant LoadingModule
(NameEr
ror)
from ./script/../config/environment.rb:91
from
2006 Feb 25
5
MySQL client ran out of memory
I''m getting the following error unexpectedly for my rails app. I just
exported the databae from dreamhost and imported it on textdrive for
my rails app.
Mysql::Error: MySQL client ran out of memory: SELECT COUNT(*) FROM
comments WHERE (comments.listing_id = 2666)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
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
2008 Dec 02
4
Using Cucumber with latest Webrat
I added cucumber to my rails project using the following commands:
git submodule add git://github.com/aslakhellesoy/cucumber.git \
vendor/plugins/cucumber
ruby script/generate cucumber
git submodule add git://github.com/brynary/webrat.git \
vendor/plugins/webrat
git submodule add git://github.com/dchelimsky/rspec.git \
vendor/plugins/rspec
git submodule add
2009 Mar 21
1
[Cucumber] Rails Upgrade Notes
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 users, but it can be
more than a bit difficult to Google out.
Questions:
1. Can this be brought into a wiki page on github on cuke.info?
2. Is
2009 Feb 13
2
[cucumber][v0.2alpha]Where could I find API docs for custom formatters?
Hi,
I''m working on update my local Cucumber to the latest version. But it seems
the old formatter APIs(step_failed, scenario_executed, etc.) don''t work any
more. Are there some documents or even Cucumber source code I can refer to?
Thanks in advance,
Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Oct 29
1
Navigating Rails Projects
I''m finding my larger rails project increasing difficult to navigate.
Model,. controller, view, and helpers being seperated, as well as
there being so many small fragments, it can be awkward to find a
partial on a complex page, and awkard to move among all the compents
that need to be touched for a non-trivial change.
Just wondering if anyone had any tips regarding this.
Thanks,
Nick
--
2008 Dec 12
8
cucumber features HTML output bug with more than 100 steps
I''m having the following problem:
With the format as html, the output of cucumber stops coloring successful
steps green after step #100. This last line in the HTML is:
<script type="text/javascript">stepPassed(100)</script>
Steps 101 -n are colored grey. The <body> tag is not closed but all steps
are displayed. When running with ''format
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
2008 Sep 29
3
rspec-ui overlap with cucumber?
Hi!
I''m using cucumber + selenium and I love it. However I''m looking to
add some methods (example: click_and_wait etc) to the lib. Therefore
looked around a bit and I got two questions:
Firstly about rspec-ui, I''m a little confused, does rspec-ui overlap
with its propose with webrat with cucumber or I''m missing a point?
Secondly, are there any plans to
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 Oct 18
3
Cucumber "standard base" setup?
I''m trying to set up cucumber so we can try it in some Ruby automation
scripts I''m working on. These will be straight Ruby, for use in BBEdit
and TextMate (on the Mac).
NOT Rails.
The big early-stage stumbling block I''m having is setting up the
initial Rakefile and directory structure. I think I''m rtfm''ing, but
clearly I''m missing
2009 Nov 17
8
rspec-rails gem double quoting (My)SQL?
Hi all,
This seems like a plugin conflict (I haven''t yet had success replicating
this in a new project), but short version is: when I have "rspec-rails"
in my environment.rb plugin config, table names are double quoted in
mysql queries generated by my standard finders.
rspec-rails commented out:
SELECT * FROM `users` WHERE (`users`.`id` = ''159564615'')
2009 Apr 27
3
[cucumber] Where does STDOUT go?
If one invokes a Ruby script from a cucumber step definition and that
script contains "puts" statements then where does the output go? I have
a script that when run from the command line displays "puts" output in
the terminal session, but when run from a cucumber step definition
produces no console output. It does however produce the expected output
file in either case.
--
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
2009 Jan 17
3
[Cucumber] Struggling with "multiple step definitions"
Hey gang,
I find myself struggling with multiple step definitions in cucumber
all the time. I regularly test the contents of my flash[:notice] in
steps, since I think that''s part of the behaviour of the app. So,
while implementing a new feature, I ran into the following error:
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.15/bin/../lib/cucumber/
step_mother.rb:81:in
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
>
2012 Oct 10
4
How do we get the End of Line date for the gems which we are using Ruby on Rails?
Hi All,
I want to know the EOL date for the below gems for ROR. Can anyone help me
how to find the EOL dates
- authlogic
- will paginate
- oauth-plugin 0.3.14
- statistics 0.1.1
- YUI
- cucumber 0.6.4
- cucumber-rails 0.3.0
- rspec 1.3.0
- rspec-rails 1.3.2
- webrat 0.7.0
- factory-girl 1.2.4
- database_cleaner 0.5.0
- SSL requirement
- calender_select