Johnny's Software Saloon

Weblog where I discuss things that really interest me. Things like Java software development, Ruby, Ruby on Rails, Macintosh software, Cocoa, Eclipse IDE, OOP, content management, XML technologies, CSS and XSLT document styling, artificial intelligence, standard document formats, and cool non-computing technologies.

My Photo
Name:
Location: Germantown, Maryland, United States

I like writing software, listening to music (mostly country and rock but a little of everything), walking around outside, reading (when I have the time), relaxing in front of my TV watching my TiVo, playing with my cat, and riding around in my hybrid gas/electric car.

Saturday, April 29, 2006

Trick for manually testing Ruby On Rails applications via command line

Programming veteran Mike Clark, of Clarkware Consulting has turned his attention from Java to Ruby On Rails.

This month he blogged a lot about Rails, including a very neat tip for how to run Ruby On Rails 1.1 in a headless mode and manually feed it commands simulating user requests, and then seeing what comes out.

Mike Clark's Weblog:
If you've ever wanted to poke and prod your Rails app through the
entire stack without firing up a web browser, Rails 1.1 just made it
easy. You can now use the app object from within
script/console to get access to the ActionController::Integration::Session
instance. And that means you can drive your app just like an
integration test.


Mike created quite a lot of extremely useful free software tools in Java over the years. I am sure his impact on Ruby On Rails will be just as dramatic and beneficial to everyone. The fact he is writing about it is just icing on the cake.

Technorati tags: ,

0 Comments:

Post a Comment

<< Home

Related pages & news