Web 2.0 - Art of Testing Web Applications Talk
by gregg on Apr 24, 2008
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
Meta:
9 comments |
permalink
RSS
iTunes

Great talk Gregg, and thanks for sharing the slides! Voted for your session on CrowdVine as well. ;-)
Thanks for the props to PeepCode at the end, Greg!
It looks like it was a useful presentation.
Hey Greg… Thanks for the great talk. I really enjoyed it.
I had a few additional question for you…
Do you have links to the TextMate scripts for formatting the RSpec stories?
How did you configure the auto-test on save in TextMate?
What was the actually program that ran and popped-up on the bottom of the screen showing the test status on save?
Do you have recommendations for the continual build system? Do you use CruiseControl.rb?
Thanks again, Todd
Oops… I left one item out of the last request list:
Thanks!
Hey Todd, glad you liked the talk.
http://pastie.caboo.se/103504
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.
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”
At my work we use CruiseControl.rb, it’s pretty nice.
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 ;-)
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
@Gregg: will that code be public? :)
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. ;-)
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. :)