Displaying 20 results from an estimated 8000 matches similar to: "[cucumber] Where does STDOUT go?"
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
2008 Nov 19
6
RSpec, TestUnit, Cucumber and Autotest
OS=CentOS-5.2
Ruby=1.8.6
Rails=2.2.1_RC
Gems all up to date
I have been experimenting with autotest and I have a few questions.
1. given export AUTOFEATURES=TRUE if ./test exists (with tests) then
these tests are run and the features are not. Is this intended
behaviour?
2. given require ''autotest/redgreen'' in .autotest if /test tests are run
then all I get colourized is a
2009 Feb 02
5
[Cucumber] Cucumber and acts_as_xapian
Hey list,
Anyone have experience with acts_as_xapian and Cucumber? I''m
struggling with updating xapian''s index, to actually "find" fluff
that has been indexed..
In a scenario, I''m adding a bunch of articles, and in the actual
search step, I run:
When "I search for \"$query\"" do |query|
%x[rake RAILS_ENV=test xapian:update_index]
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:
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 Feb 25
5
[Cucumber] pretty html output?
Cucumberists (and RSpec Classic users ;):
How can we convert a Cucumber feature file into HTML with syntax highlighting?
Not the test-runner output; that''s preprocessed so it does not match the input
file...
Tx!
--
Phlip
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 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 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
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
2009 Jan 28
2
[Cucumber, TextMate Bundle] Call for help
Hey all,
As some of you may know I created the Cucumber TextMate bundle:
http://github.com/bmabey/cucumber-tmbundle/tree/master
What most of you probably don''t know is that I stopped using TextMate
(in favor of Vim) several months ago. Since then the Cucumber bundle
has been somewhat neglected by me and I''ve mostly pulled in patches and
regenerated the syntax for new
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working
through the initial example. Although I''m a fairly experienced RSpec
user, I''m stlll learning new tricks.
Anyway, I''m going though the mastermind example, and everything is
going well, except that I decided to also try out the Textmate bundle
for Cucumber. I decided to use Ben Mabey''s
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 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
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 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 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
2008 Aug 29
1
Cucumber and multi-line steps
Hi all,
Where can we add tickets for Cucumber? While trying to migrate a
current project I ran into a snag.. specially that cucumber does not
support multi-line steps like the edge rspec story runner (which makes
sense since this was such a new feature to the story runner.) Anyways,
I don''t have enough time at the moment to dig into it myself so I''d like
to at least log it.
2009 Apr 05
1
[cucumber] Nested resource in paths.rb
Hello Rspec Users,
I was wondering how you specify a nested resource in cucumber. So for
example:
Given I have a blogpost titled Question For Nice Rspec Users
When I am on the list of comments for Question For Nice Rspec Users
Then I should see "Answer"
Now, as one might expect, blogpost has_many :comments, so my question is
this:
How should I write the "when-case" for