1) Know of any guides to writing performance tests using Rspec?
2) Does Rspec have the capability to run specs in benchmarking or
profiling mode similar to the way Rails has performance tests that run
in these modes (http://guides.rubyonrails.org/
performance_testing.html)?
___
ead of 31 and then 131.The particular
numbers change as I edit my files.
Thanks for any help, I'm tearing my hair out here.
-Evan
---
[17:16:12] unithrive$ rake spec --trace
(in /Users/evan/Development/Ruby/unithrive)
** Invoke spec (first_time)
** Invoke db:test:prepare
I want to make sure all external resources called for by my views (like
images) actually exist. How do I write an rspec that will fail when an
image included on the page isn't present?
For example, let's say in application.html.erb, I include , but that file doesn't exist (say it's
actually /ima
On Oct 1, 2008, at 2:50 PM, aslak hellesoy wrote:
Does anyone want Cucumber gems? No? Yes? Anyone? OK I HEARD YOU! :-)
http://rubyforge.org/frs/?group_id=797
Just chill till it rsyncs around. Install docs are updated:
http://github.com/aslakhellesoy/cucumber/wikis/home
Thank you!___
need PixieSpec and Pixie Stories next :)
No, I think it's a matter of "GitHub Driven Deployment" -- or non-
Deployment as the case would be. :-/
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
en if it's only
"stable" ;-)
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Sep 30, 2008, at 5:20 PM, aslak hellesoy wrote:
On Tue, Sep 30, 2008 at 9:02 PM, Evan David Light
<[EMAIL PROTECTED]> wrote:
Subject says most of it. I'd love to use Cucumber in my project
but I need
to be able to install it in a Rails app and by a particular version
numb
and updated in RubyForge
occasionally because of occasional gem problems with GitHub?
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Sep 12, 2008, at 4:01 PM, Joseph Wilk wrote:
I agree there is difficulty with FIT values and bindings. I find using
good descriptive columns names really helps
Couldn't agree more there.
and quoting bound values in
the plain text. I find this much easier to match up:
Given a 'Widget'
Wh
table headers with a little white space may also make them a
little more readable.
Evan
Also, couldn't your second example also support binding to
the table
headers?
Anything is possible :) How would you envision that working. What
would trigger binding one word in a phrase to
On Sep 12, 2008, at 12:19 PM, David Chelimsky wrote:
On Fri, Sep 12, 2008 at 11:16 AM, Evan David Light
<[EMAIL PROTECTED]> wrote:
On Sep 12, 2008, at 11:50 AM, David Chelimsky wrote:
I commented on your blog.
Yup, I know. I know very well who you are, David. ;-) I've seen
tient.
|numerator|denominator|quotient|
WDYTAT?
I believe that binding the table to the phrasing would be immensely
useful and perhaps even crucial to Scenario authors.
Also, couldn't your second example also support binding to the table
heade
Plain Text Stories
in Treetop. Then you told me that Aslak already did it. ;-)
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
today).
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
are specialized by rows in the FIT table. This seems more natural as
the substitutions become far clearer just by looking at the plain text.
Disclaimer: My exposure to FIT is limited to a quick read of Ward
Cunningham's page on FIT and Cucumb
David Chelimsky wrote:
> What do you mean "it quits back to the command line"?
Autotest stops running and I get a command prompt again.
> There has not been a 1.1.5 release, so I'm guessing you're using code
> from github, right?
Yes, I'm using a version from github, in a Rails 2.1 project. rsp
Mark Wilden wrote:
> On Mon, Jul 28, 2008 at 3:10 PM, Evan Dorn <[EMAIL PROTECTED]> wrote:
> >
> It sounds like it might be an RSpec 1.1.5 thing. I've used 1.1.4 with
> autotest without seeing the problem you describe.
>
I have the same problem on projects that
Sorry, I'd put this in a ZenTest forum (as opposed to RSpec), except
that I can't find one.
I find it frustrating that autotest keeps running when it finds failing
tests - but it quits back to the command line whenever a test or code
contains *errors*.
This means I have to constantly (like every
s session
information would be valuable.
on the other hand, perhaps this needs to be addressed in some way. i would
be happy to help, but i am interested to see the community's opinion on the
issue first.
regards,
evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
So i've been getting this same thing with both rspec 1.1.1 and now with 1.1.2.
ruby-debug works with i'm in the application code, but not when i'm in
the 'spec', or spec helper methods i'm loading. Basically any command
which should normally work like p, or pp, gets passed through to a
method_miss
ot;be_an_instance_of" is not
defined on my Interview class per the interpreter. While I've poked
a little inside RSpec for insights, I'm just a tad too tired to dig
in for an answer for this one. Can someone help me out after
clobb
There are also a couple of examples buried in the trunk under
examples/story/game-of-life/behaviour/stories
On Sep 20, 2007, at 10:13 AM, Andrew WC Brown wrote:
I'm guessing their isn't a generator for stories yet?
./script/generate story add_person
On 9/20/07, James Hughes < [EMAIL PROTECT
...
The deeper I get into it, the more that I love this tool
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
y, I'm spending the rest of tonight and most of
tomorrow doing some work for the office...
The deeper I get into it, the more that I love this tool
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
be a branch and
not an error. That said, I thought that there may be a reasonable
explanation.
Evan Light
IMs (all): sleight42
Twitter:elight
http://evan.tiggerpalace.com___
rspec-users mailing list
rspec-users@rubyforge.org
htt
On Sep 13, 2007, at 6:10 PM, Pat Maddox wrote:
> On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
>> ... (Evan's RSpec n00bish ramblings) ...
>> Thanks,
>> Evan
>>
>>
>
> Hi Evan,
>
> I think you have the right idea about approa
re not thinking far off from ME. That in no way makes it
> main stream.
>
Hehe. Ok, I'm thinking like a guy who has prolific dialogues about
how to build better software. I could do worse. ;-)
Evan
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Awesome! That's a whole lot more of a response than I had
anticipated. Thanks!
On Sep 12, 2007, at 6:15 PM, David Chelimsky wrote:
On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
I like to start w/ integration tests before anything exists at all.
You can do th
Granted that I'm new too; however, assigns[:hash] creates a member
variable @hash that is made available to the view. Maybe that's the
problem? Modify your view to use @hash instead.
On Sep 12, 2007, at 5:20 AM, Shaker wrote:
>
> Hello everyone:
> I am quit new to View test using
Disclaimer: The following are observations by a relatively new user
(couple of weeks) of RSpec and not intended as RSpec trollbait.
Also, forgive me if similar topics have been discussed elsewhere on
the mailing list. I at least did the due diligence of a quick search.
That said.
30 matches
Mail list logo