David Chelimsky wrote:
The latest rspec code in git introduces an autospec command that runs
specs, leaving autotest to run the stuff in the test directory. This
doesn't solve your problem, but might be useful information.
To run both tests and specs you'll have to add a .autotest file and
On Wed, Aug 6, 2008 at 6:04 AM, David Chelimsky [EMAIL PROTECTED] wrote:
On Sat, Aug 2, 2008 at 3:43 PM, Luis Lavena [EMAIL PROTECTED] wrote:
On Sat, Aug 2, 2008 at 9:04 PM, Mark Wilden [EMAIL PROTECTED] wrote:
spec_server is one of the hidden gems of the RSpec world. It's not
completely a
Hi all,
I've been using rspec / rails for just over a week now, and I'm loving
the specification framework. The way I can group examples together
feels really natural, and I'm finding the TDD flow terrific.
Thus far I've used the describe / it should... syntax to basically do
TDD of my
Ian, sounds like your espresso machine needs some gui testing...
:)
On Aug 6, 2008, at 12:47 AM, Ian Dees wrote:
Hi, all.
The publishers have just thrown the switch to make my new book,
Scripted GUI Testing With Ruby, available for purchase in both PDF
and analog.
On Wed, Aug 6, 2008 at 7:24 AM, Jonathan Linowes
[EMAIL PROTECTED] wrote:
Ian, sounds like your espresso machine needs some gui testing...
Hmmm ... gui espresso? I prefer mine a bit more watiry.
:)
On Aug 6, 2008, at 12:47 AM, Ian Dees wrote:
Hi, all.
The publishers have just thrown the
Joseph Wilk wrote:
If you are using JRuby a nice tool which wraps the Java HtmlUnit is
Celerity:
http://celerity.rubyforge.org/
At the moment I'm yet to see something like HtmlUnit on the ruby
platform. I watch Celerity in envy :)
Interesting. On the surface HtmlUnit looks just like webrat
Hello everybody:)
I'm new to this, but how should I go about consolidating
old_project/test/* with new_project/spec/*?
Here is the contents of my old_project/test/* -- http://pastie.org/248453
Would I have to rewrite everything?
Many thanks!
--
http://www.home.no/reddvinylene
Matt Wynne wrote:
Interesting. On the surface HtmlUnit looks just like webrat - what's the
difference?
HtmlUnit is quite different. It is a language/framework agnostic way to
test any webapp *including* the app's JS. All of this, even the JS, is
in memory and does not require a browser
I'm using stories with Webrat, and really like it. As mentioned, it
doesn't cover the JavaScript bit, but so far that's ok, we don't have
enough that I can't just test it manually (dread!).
But, yes, since starting to use stories, I'd guess I've written maybe
two or three controller tests, and
Hi all.
On 6 Aug 2008, at 15:47, Christopher Bailey wrote:
But, yes, since starting to use stories, I'd guess I've written maybe
two or three controller tests, and have wound up deleting many of my
view tests (and don't use Rails integration tests at all). So,
essentially, what it's boiling
Rahoul Baruah wrote:
The thing that's been holding me back is the granularity.
Do you try and write a scenario for every possible case?
It might help to have a look at the thread that starts here:
http://www.benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories/
Its
On 6 Aug 2008, at 16:18, Matt Wynne wrote:
It might help to have a look at the thread that starts here:
http://www.benmabey.com/2008/05/19/imperative-vs-declarative-
scenarios-in-user-stories/
Its a subtlety I'm only just getting my head around, but there's a
wealth of useful experience
I know there is a hash_including, which is quite useful. Are there by
chance any matchers for ensuring a hash includes only the specified
values, or that it doesn't have certain values?
Thanks,
Steve
___
rspec-users mailing list
Note that there's also some existing discussion on this list that I just
found (with a search for 'RailsStory'):
http://www.ruby-forum.com/topic/156930#new
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
Ian, sounds like your espresso machine needs some gui testing...
Hmmm ... gui espresso? I prefer mine a bit more watiry.
What, no Mocha jokes?
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Wed, Aug 6, 2008 at 9:22 AM, Steve [EMAIL PROTECTED] wrote:
I know there is a hash_including, which is quite useful. Are there by
chance any matchers for ensuring a hash includes only the specified values,
or that it doesn't have certain values?
I'm just on my way out the door, but just
I was using Ben Mabey's tutorial, which includes an older RSpec on Rails
(20080131122909) plugin, and thus reported that it was incompatible with my
1.1.4 gem.
It tries to be helpful, and says:
See http://rspec.rubyforge.org/documentation/rails/install.html for details.
But, of course, the
I've had a matcher in my head for a couple months, that I frequently
want but never get around to writing because I can't think of the name
for it. Here's how it would look
[1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2]
I have a couple ideas for names, but I'll hold off on them so I don't
influence
perhaps verbose but how about
foo.should equal_in_any_order [1, 3, 1, 4, 2]
On Aug 6, 2008, at 1:50 PM, Pat Maddox wrote:
I've had a matcher in my head for a couple months, that I frequently
want but never get around to writing because I can't think of the name
for it. Here's how it
On Wed, Aug 6, 2008 at 12:50 PM, Pat Maddox [EMAIL PROTECTED] wrote:
I've had a matcher in my head for a couple months, that I frequently
want but never get around to writing because I can't think of the name
for it. Here's how it would look
[1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2]
[1, 2,
On Wed, Aug 6, 2008 at 1:50 PM, Pat Maddox [EMAIL PROTECTED] wrote:
I've had a matcher in my head for a couple months, that I frequently
want but never get around to writing because I can't think of the name
for it. Here's how it would look
[1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2]
I have
Consider:
should_have_the_same_members_as
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zach Dennis
Sent: Wednesday, August 06, 2008 11:15 AM
To: rspec-users
Subject: Re: [rspec-users] Someone please name this matcher for me
On Wed, Aug 6, 2008 at
On Wed, 6 Aug 2008 13:50:27 -0400, you wrote:
I've had a matcher in my head for a couple months, that I frequently
want but never get around to writing because I can't think of the name
for it. Here's how it would look
[1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2]
An unordered collection with
How about
[1, 2, 3, 4, 1].should contain([1, 3, 1, 4, 2])
[1, 2, 3, 4, 1].should contain_only([1, 3, 1, 4, 2])
or (riffing off Zach)
[1, 2, 3, 4, 1].should be_composed_from([1, 3, 1, 4, 2])
Matt
--
Posted via http://www.ruby-forum.com/.
___
.should be_bag_of( [1, 3, 1, 4, 2] )
On Aug 6, 2008, at 2:33 PM, Steve Schafer wrote:
On Wed, 6 Aug 2008 13:50:27 -0400, you wrote:
I've had a matcher in my head for a couple months, that I frequently
want but never get around to writing because I can't think of the
name
for it. Here's
2008-08-06 13:11, Mike Vincent:
[1, 2, 3, 4, 1].should ... [1, 3, 1, 4, 2]
[1, 2, 3, 4, 1].should include_all [1, 3, 1, 4, 2]
I'd then think that
[1, 1, 1, 2, 3, 4].should include_all [1, 3, 1, 4, 2]
[1, 2, 3, 4, 5, 6].should include_all [1, 3, 1, 4, 2]
Which afaik was not what Pat had
Mark Wilden wrote:
On Wed, Aug 6, 2008 at 9:22 AM, Steve
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I know there is a hash_including, which is quite useful. Are there
by chance any matchers for ensuring a hash includes only the
specified values, or that it doesn't have
On Wed, Aug 6, 2008 at 8:57 AM, Redd Vinylene [EMAIL PROTECTED] wrote:
Hello everybody:)
I'm new to this, but how should I go about consolidating
old_project/test/* with new_project/spec/*?
Here is the contents of my old_project/test/* -- http://pastie.org/248453
Would I have to rewrite
On 07/08/2008, at 05:04 , Jonathan Linowes wrote:
.should be_bag_of( [1, 3, 1, 4, 2] )
FWIW, I am in favour of this naming. Now back to lurking :)
___
rspec-users mailing list
rspec-users@rubyforge.org
Steve wrote:
Mark Wilden wrote:
On Wed, Aug 6, 2008 at 9:22 AM, Steve [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I know there is a hash_including, which is quite useful. Are there
by chance any matchers for ensuring a hash includes only the
specified values, or that it
30 matches
Mail list logo