Bill Walton wrote:
> Hi Adam,
> 
> On Wed, Aug 25, 2010 at 1:43 PM, Adam <[email protected]> wrote:
>> Rake comes with great support for unit testing with Test::Unit out of the
>> box, you don't need an IDE to hook it all up for you. You can define a
>> Rake::TestTask and just run 'rake test'. Rails does this automatically.
>> RSpec comes with a similar Rake task that's as easy to define.
>> If you really want your IDE to show you colors and stuff, I know RubyMine
>> supports testing Rails applications and is cross-platform (written in Java).
> 
> I'm a long-time user and fan of Test::Unit but TDD with it requires
> quite a bit of typing.  What I saw demonstrated with VisualStudio was
> very impressive though.  It supported Red-Green-Refactor at level I'd
> never seen before.  Write the test, it knows you don't have the method
> you're testing and auto-generates it.  

Perhaps you want Autotest?  Again, no IDE necessary.

(But I think method autogeneration in this case would be dangerous. 
Doesn't that mean you don't see the test fail?)

I know that RSpec and Cucumber support an HTML output format where you 
can see the red and green nicely displayed in your browser.  I hate 
Test::Unit, so I haven't used it enough to be sure if it does the same 
thing, but it might.

> That sort of thing.  It was a
> very brief demo but what he showed was very impressive.  I've never
> been a big fan of IDEs for Rails development.  I use the Ruby version
> of NetBeans because it lets me use the same tool on Windows and Linux.

Er...so does any decent editor.  KomodoEdit (my current favorite) exists 
for Windows, Linux, and Mac OS; so does jEdit.

>  That and the debugger.  

Does ruby-debug-ide actually work with NetBeans?  It didn't when I tried 
earlier this year.

> But it's got nothing like what I saw last
> weekend re: built-in TDD support.  I'll check out RubyMine.
> 
> Thanks!
> Bill

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to