Thanks to those of you who came out for my Web 2.0 Expo Talk in SF. You can download my slides here . If you want to share the talk with other people and see another demo of RSpec, I did a video presentation last year entitled How I learned to love testing which covers a lot of the same topics but is an entirely different talk.

I didn’t include my source, but to learn more about RSpec, go read the RSpec Home Page

To learn more about user stories with webrat, check this RSpec Plain Text Stories article

For autotest configuration with growl, check out this post

AddThis Social Bookmark Button Meta: 9 comments | permalink


Comments

Leave a response

Ilya GrigorikApril 24, 2008 @ 10:56 PM

Great talk Gregg, and thanks for sharing the slides! Voted for your session on CrowdVine as well. ;-)


Geoffrey GrosenbachApril 25, 2008 @ 01:40 PM

Thanks for the props to PeepCode at the end, Greg!

It looks like it was a useful presentation.


Todd SampsonApril 26, 2008 @ 01:20 AM

Hey Greg… Thanks for the great talk. I really enjoyed it.

I had a few additional question for you…

  1. Do you have links to the TextMate scripts for formatting the RSpec stories?

  2. How did you configure the auto-test on save in TextMate?

  3. What was the actually program that ran and popped-up on the bottom of the screen showing the test status on save?

  4. Do you have recommendations for the continual build system? Do you use CruiseControl.rb?

Thanks again, Todd


Todd SampsonApril 26, 2008 @ 02:51 AM

Oops… I left one item out of the last request list:

  1. Can you post a code example of the text RSpec User Story listed in slide 76 of your slide PDF?

Thanks!

  • Todd


Gregg PollackApril 29, 2008 @ 09:50 AM

Hey Todd, glad you liked the talk.

  1. http://pastie.caboo.se/103504

  2. autotest reruns your tests every time you save, in or outside of textmate. autotest is part of the ZenTest Gem. Just search the net for autotest with RSpec, and there are plenty of articles.

  3. The program that popped up at the bottom was Growl. Autotest was calling growl. Again there are plenty of good articles for this around the net. Just search for “autotest growl”

  4. At my work we use CruiseControl.rb, it’s pretty nice.

  5. The code I used is modeled after http://www.benmabey.com/2008/02/04/rspec-plain-text-stories-webrat-chunky-bacon/ that article, which in my opinion is a much better code example then what I produced. But I’ll go ahead and email you mine ;-)


Todd SampsonApril 29, 2008 @ 03:54 PM

This is fantastic Gregg… Thanks for following up.

I just noticed that the video link from the Orlando RUG presentation appears to go to a domain squatter link. Do you have another URL?

Thanks again.

Cheers, Todd


ynwApril 29, 2008 @ 08:25 PM

@Gregg: will that code be public? :)


Gregg PollackApril 29, 2008 @ 11:16 PM

ynw, I wasn’t planning on posting my code, because the link that I posted above, “this one”:http://www.benmabey.com/2008/02/04/rspec-plain-text-stories-webrat-chunky-bacon/ has a much better code example then I gave. You should definitely look at that instead. ;-)


Ben MabeyApril 30, 2008 @ 11:54 PM

Hey Gregg, thanks for the reference to my article! I’m glad you found it useful. I’m actually preparing a TDD/BDD presentation for my local ruby group meeting and your slides will be a great place to steal.. umm.. I mean get inspiration from. :)


Comment