Denis Haskin wrote:
Thanks. Ok -- removing grosser-autotest lets autotest run, but it's
only running my unit tests, not rspec:
$ autotest
(Not running features. To run features in autotest, set
AUTOFEATURE=true.)
loading autotest/rails
/usr/bin/ruby1.8 -I.:lib:test -rubygems -e "%w[test/uni
Thanks. Ok -- removing grosser-autotest lets autotest run, but it's
only running my unit tests, not rspec:
$ autotest
(Not running features. To run features in autotest, set AUTOFEATURE=true.)
loading autotest/rails
/usr/bin/ruby1.8 -I.:lib:test -rubygems -e "%w[test/unit
test/unit/design_tes
Is this fabled .autotest file fully documented somewhere? It keeps
getting referenced in lots of answers and doc, but I haven't located
complete doc on it. I'm probably not looking in the right place...
thx
dwh
Robert Lorimor wrote:
David Chelimsky wrote:
On Thu, May 14, 2009 at 7:51 A
I have a controller name forums and a action like this:
def show
redirect_to forum_topics_path(:forum_id => params[:id])
end
my scenario is (not completed)
==
Scenario: User input data correct
When I run to the forum 1
--
When /^I run to the (.*)$/ do |topic_lists|
visit path
Ben Mabey wrote:
http://wiki.github.com/aslakhellesoy/cucumber/fixtures
Ding! That would have been my next click in my Googling. Let's hope this thread
pushes that up.
> http://groups.google.com/group/cukes
What, no gmane yet?? (-:
--
Phlip
_
On Wed, May 20, 2009 at 6:01 AM, tatyree wrote:
> Strange request, I know...also seems pretty unlikely that it will
> work, but:
>
> Any thoughts on how I might change the setting on the fly (or stub
> it)? I'm stopping certain classes loading in production, and I'd like
> to be able to test the
On 20 May 2009, at 09:33, aslak hellesoy wrote:
On 20 May 2009, at 00:04, aslak hellesoy wrote:
Any further thoughts on this, Aslak? I'd prefer to go with a
solution in
line with the future direction of Cucumber if possible.
Sorry, forgot to get back to you Luke.
I'm convinced. We'll a
Hi,
I am trying to implement my own matcher which use a special algorithm to
do the semantics diff-ing between two proprietary configuration file.
When come to the report, I would like my formatter to be able to have
access to the original configuration file content as well as the
diff-ing r
On Wed, May 20, 2009 at 5:30 AM, doug livesey wrote:
> Hi -- I have a strange bug.
> The following step will pass:
>
> Then /^I should not see any options for the properties$/ do
> response.should have_selector( "table thead" )
> end
>
> But this will fail:
>
> Then /^I should not see any option
tatyree wrote:
Strange request, I know...also seems pretty unlikely that it will
work, but:
Any thoughts on how I might change the setting on the fly (or stub
it)? I'm stopping certain classes loading in production, and I'd like
to be able to test the behavior without having to manually change
Phlip wrote:
Cucumberists:
FYI, Cucumber now has it's own mailing list:
http://groups.google.com/group/cukes
Apologies for not jumping into some wild alternate fixture (or mock!)
system, but the unit tests at my new day gig are >cough< hanging by a
thread as it is.
I need to show off som
Cucumberists:
Apologies for not jumping into some wild alternate fixture (or mock!) system,
but the unit tests at my new day gig are >cough< hanging by a thread as it is.
I need to show off some cute Cuke, _without_ rocking the boat!
How do I actually use real, pre-existing Rails fixtures, th
Strange request, I know...also seems pretty unlikely that it will
work, but:
Any thoughts on how I might change the setting on the fly (or stub
it)? I'm stopping certain classes loading in production, and I'd like
to be able to test the behavior without having to manually change the
setting in te
On Wed, May 20, 2009 at 4:18 AM, Zhenning Guan wrote:
> Zhenning Guan wrote:
>> David Chelimsky wrote:
>>> On Tue, May 19, 2009 at 10:09 AM, Zhenning Guan
>>> wrote:
features/step_definitions/webrat_steps.rb:10
1 scenario (1 failed)
2 steps (1 failed, 1 passed)
===
>
On Wed, May 20, 2009 at 2:47 AM, Amit Kulkarni wrote:
> David Chelimsky wrote:
>> On Wed, May 20, 2009 at 1:47 AM, Amit Kulkarni
>> wrote:
> script/spec spec/controllers/channels_controller_spec1.rb
Hey It worked thanks a lot. :-)
Can you tell me the difference why it was
> I can't remember if you can do that, to be honest. I think the hash of
> parameters to stub_model is used to set up stubs on the object - so
> they won't get passed to the constructor. Hopefully someone else on
> the list should be able to tell you if this is possible.
Matt, I have since looked
On 20 May 2009, at 12:03, Lee wrote:
Thanks Matt. Very helpful.
I have tried out stub_model. The constructor of one of my models
(Namespace) requires a mandatory :name attribute to be provided. So
when I try to stub_model it - e.g. representative_namespace =
stub_model(Namespace) - I get the f
Denis Haskin wrote:
I didn't have ZenTest installed. I just did, but I still get the same
error. Should I *not* have grosser-autotest installed?
$ gem list | grep -i test
grosser-autotest (4.0.4)
test-unit (2.0.2)
ZenTest (4.0.0)
Try removing it.
Make sure to grab the latest ZenTest (which
(Apologies for crossposting)
Yesterday, my pair and I wrote a rough rake task to run features
against multiple instances of Cucumber. We decided to call it Salad,
since multiple cucumbers makes a nice salad :). The script is very
rough, and scratches mostly our own itch. The rake task itsel
David Chelimsky wrote:
> On Thu, May 14, 2009 at 7:51 AM, Hugo Barauna
> wrote:
>> Hi guys, I am having a problem with autospec. I upgraded to
>> rspec-1.2.6, then I tried to run my specs with autospec. All my specs
>> passes (green), until here, that's all ok. The problem is that after
>> all my
Thanks Matt. Very helpful.
I have tried out stub_model. The constructor of one of my models
(Namespace) requires a mandatory :name attribute to be provided. So
when I try to stub_model it - e.g. representative_namespace =
stub_model(Namespace) - I get the following spec error.
1)
RuntimeError in
I didn't have ZenTest installed. I just did, but I still get the same
error. Should I *not* have grosser-autotest installed?
$ gem list | grep -i test
grosser-autotest (4.0.4)
test-unit (2.0.2)
ZenTest (4.0.0)
dwh
Scott Taylor wrote:
Denis Haskin wrote:
Hmm. Okay, tried that but:
$ autos
Thanks a lot. It works
How should I run a single file using autospec
-Original Message-
From: rspec-users-boun...@rubyforge.org
[mailto:rspec-users-boun...@rubyforge.org] On Behalf Of Scott Taylor
Sent: Wednesday, May 20, 2009 11:28 AM
To: rspec-users
Subject: Re: [rspec-users] auto te
While running autospec I am getting the following error
LIBMYSQL_.dll was not found and
core_rl_magick_.dll was not found
What should I do.
-Original Message-
From: rspec-users-boun...@rubyforge.org
[mailto:rspec-users-boun...@rubyforge.org] On Behalf Of Scott Taylor
Sent: Wednesd
Hi -- I have a strange bug.
The following step will pass:
Then /^I should not see any options for the properties$/ do
response.should have_selector( "table thead" )
end
But this will fail:
Then /^I should not see any options for the properties$/ do
response.should have_selector( "table thead
David Chelimsky wrote:
> On Tue, May 19, 2009 at 10:09 AM, Zhenning Guan
> wrote:
>> features/step_definitions/webrat_steps.rb:10
>>
>> 1 scenario (1 failed)
>> 2 steps (1 failed, 1 passed)
>>
>> ===
>> Forum.count == counts.to_i does fine
>
> That's not an expectation so it won't pass or fail.
Zhenning Guan wrote:
> David Chelimsky wrote:
>> On Tue, May 19, 2009 at 10:09 AM, Zhenning Guan
>> wrote:
>>> features/step_definitions/webrat_steps.rb:10
>>>
>>> 1 scenario (1 failed)
>>> 2 steps (1 failed, 1 passed)
>>>
>>> ===
>>> Forum.count == counts.to_i does fine
>>
>> That's not an expe
>
> We are having trouble with JUnit-tests that are doing dependency injection in
> the setup of database connections. The stacktrace identifies autowiring of
> sessionFactory as the problem. During bean creation of sessionFactory we get
> a NoSuchMethodError; probably because of trouble when initi
>
> On 20 May 2009, at 00:04, aslak hellesoy wrote:
>
>>> Any further thoughts on this, Aslak? I'd prefer to go with a solution in
>>> line with the future direction of Cucumber if possible.
>>>
>>
>> Sorry, forgot to get back to you Luke.
>>
>> I'm convinced. We'll add an AfterStep hook. Do you wa
David Chelimsky wrote:
> On Wed, May 20, 2009 at 1:47 AM, Amit Kulkarni
> wrote:
script/spec spec/controllers/channels_controller_spec1.rb
>>>
>>> Hey It worked thanks a lot. :-)
>>>
>>> Can you tell me the difference why it was not running earlier and now it
>>> is running.Just for my under
> On May 19, 2009, at 10:43 PM, Luke Melia wrote:
>
>> On May 19, 2009, at 7:04 PM, aslak hellesoy wrote:
>>
>>> I'm convinced. We'll add an AfterStep hook. Do you want to give a stab
>>> at a patch? Start by writing a feature - see
>>> features/after_block_exceptions.feature for a good example of
On Wed, May 20, 2009 at 1:48 AM, Diwakar, ANGLER - EIT
wrote:
> I updated rspec to 1.2 still I am not getting string values
I'm going to need a bit more context than that. Please post some code,
rspec examples and backtraces.
>
> Diwa
>
>
> -Original Message-
> From: rspec-users-boun...@
On Wed, May 20, 2009 at 1:47 AM, Amit Kulkarni wrote:
> Amit Kulkarni wrote:
>> David Chelimsky wrote:
>>> On Tue, May 19, 2009 at 9:04 AM, Amit Kulkarni
>>> wrote:
but i am getting the same error which says RuntimeError in
Files/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_
I updated rspec to 1.2 still I am not getting string values
Diwa
-Original Message-
From: rspec-users-boun...@rubyforge.org
[mailto:rspec-users-boun...@rubyforge.org] On Behalf Of David Chelimsky
Sent: Wednesday, May 20, 2009 11:28 AM
To: rspec-users
Subject: Re: [rspec-users] getti
The Cucumber list has moved:
http://www.nabble.com/-Cucumber--ANN%3A-New-Google-Group-for-Cucumber-td23602831.html
On Wed, May 20, 2009 at 5:29 AM, Korny Sietsma wrote:
> Hi - sorry for the cross-list post, but this issue happens only with
> cucumber and jruby, and I'm not 100% sure which has the
David Chelimsky wrote:
> On Tue, May 19, 2009 at 9:04 AM, Amit Kulkarni
> wrote:
>> but i am getting the same error which says RuntimeError in
>> Files/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_control
>> ./channels_controller_spec1.rb:149:
> It looks like you're calling the file f
Amit Kulkarni wrote:
> David Chelimsky wrote:
>> On Tue, May 19, 2009 at 9:04 AM, Amit Kulkarni
>> wrote:
>>> but i am getting the same error which says RuntimeError in
>>> Files/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_control
>>> ./channels_controller_spec1.rb:149:
>> It looks l
37 matches
Mail list logo