Nick Sieger Uses RSpec with the NetBeans Ruby Support

Unable to load Flash player.

Do you like this entry?
Star Star Star Star Star

Rating: 4.55

Votes: 22


Date:
Friday, 8th February 2008

Views:
4756

Read 4 comments

Get this entry as an
iTunes podcast here

Description

Nick Sieger demonstrates behavior driven development using RSpec in the NetBeans Ruby support. He tests the Ruby Weblog application by using the Red/Green refactor cycle of running, modifying, saving, and running tests.

Comments

Nathan Fiedler says:
Monday, 11th February 2008 19:59:03

This is a terrific demo, very nicely demonstrates not only RSpec, but the very good support for Ruby and Rails in NetBeans. I've been a very happy NetBeans user for 4 years, and even happier to see the Ruby support added recently. Thanks


patrik says:
Monday, 10th March 2008 21:22:32

Very nice demo but it did not work for me and just want to point out what I had to do to work around this. The problem was I didnt get a green/red bar and no output. And this may be a Windows only problem as well Solution ( for me atleast ): Delete spec.opts file and recreate it, I even could run the test without this file so what the "specdoc" line does I think I'll have to look at the rspec homepage


Col Wilson says:
Wednesday, 19th March 2008 16:18:32

It would have been nice to include a bit about AutoTest.


Cindy says:
Wednesday, 19th March 2008 17:10:01

Thanks for the feedback. You can in fact run just fine with the default spec.opts file -- the addition of the 'specdoc' option is to allow the full documentation to be printed as you run the specs. If you continue to have problems with red/green and/or output feedback from the UI, please send an email to the mailing list at users@ruby.netbeans.org with the version of NetBeans that you are running.


Add comment

Bookmark this page: Delicious Furl Simpy Slashdot Technorati Digg Digg

< Previous entry | Next entry >