[rspec-users] Performance tests using Rspec

2011-01-17 Thread Evan
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)? ___

[rspec-users] Help: Attempts to run specs quitting midstream

2008-10-30 Thread Evan Dorn
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

[rspec-users] how to catch a missing image (rspec-rails)

2008-10-02 Thread Evan Dorn
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

Re: [rspec-users] Cucumber: please make "gem install aslakhellesoy-cucumber" or "gem install cucumber" work again

2008-10-01 Thread Evan Light
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!___

Re: [rspec-users] Cucumber: please make "gem install aslakhellesoy-cucumber" or "gem install cucumber" work again

2008-10-01 Thread Evan Light
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

Re: [rspec-users] Cucumber: please make "gem install aslakhellesoy-cucumber" or "gem install cucumber" work again

2008-10-01 Thread Evan Light
en if it's only "stable" ;-) Evan ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Cucumber: please make "gem install aslakhellesoy-cucumber" or "gem install cucumber" work again

2008-09-30 Thread Evan Light
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

[rspec-users] Cucumber: please make "gem install aslakhellesoy-cucumber" or "gem install cucumber" work again

2008-09-30 Thread Evan David Light
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

Re: [rspec-users] Cucumber Scenario syntax

2008-09-12 Thread Evan David Light
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

Re: [rspec-users] Cucumber Scenario syntax

2008-09-12 Thread Evan David Light
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

Re: [rspec-users] Cucumber Scenario syntax

2008-09-12 Thread Evan David Light
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

Re: [rspec-users] Cucumber Scenario syntax

2008-09-12 Thread Evan David Light
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

Re: [rspec-users] Cucumber Scenario syntax

2008-09-12 Thread Evan David Light
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

Re: [rspec-users] Cucumber Scenario syntax

2008-09-12 Thread Evan David Light
today). Evan ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Cucumber Scenario syntax

2008-09-12 Thread Evan David Light
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

Re: [rspec-users] Autotest quits when code has errors

2008-08-05 Thread Evan Dorn
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

Re: [rspec-users] Autotest quits when code has errors

2008-07-29 Thread Evan Dorn
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

[rspec-users] Autotest quits when code has errors

2008-07-28 Thread Evan Dorn
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

[rspec-users] session data and user stories

2008-01-18 Thread Evan Short
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

[rspec-users] Problem with ruby-debug and rspec

2008-01-15 Thread evan
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

[rspec-users] Mocking within a Proc/Block?

2007-10-24 Thread Evan David Light
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

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread Evan David Light
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

Re: [rspec-users] Posted this in "dev" last night but I'm not sure that anyone reads it

2007-09-14 Thread Evan David Light
... 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

Re: [rspec-users] Posted this in "dev" last night but I'm not sure that anyone reads it

2007-09-14 Thread Evan David Light
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

[rspec-users] Posted this in "dev" last night but I'm not sure that anyone reads it

2007-09-14 Thread Evan David Light
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

Re: [rspec-users] Philosophical questions

2007-09-13 Thread Evan David Light
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: [rspec-users] Philosophical questions

2007-09-12 Thread Evan David Light
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

Re: [rspec-users] Philosophical questions

2007-09-12 Thread Evan David Light
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

Re: [rspec-users] Can not 'assigns' value in View test

2007-09-12 Thread Evan David Light
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

[rspec-users] Philosophical questions

2007-09-12 Thread Evan David Light
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.