Kevin Clark

assert_select included in core, assert_tag deprecated


over 5 years ago by Kevin Clark on Gluttonous.
In case you missed the changeset, Assaf Arkin’s assert_select has been included in EdgeRails. This officially marks the deprecation of assert_tagI...

Mocking Models


over 5 years ago by Kevin Clark on Gluttonous.
Today I decided to see how much of the test code in my current side project I could rip fixtures out of. At the same time I could see what kind of speed...

The Flexibility of Mocha


over 5 years ago by Kevin Clark on Gluttonous.
This post just blew me away. Turns out instead of using the delegate_method_to_mock! method I posted the other day, I could use Mocha and just save myself...

On The Day's Events


over 5 years ago by Kevin Clark on Gluttonous.
So, I seem to have inadvertently caused a significant amount of controversy with this morning’s article on what I don’t think you should be...

Injecting Mocks (one way or another)


over 5 years ago by Kevin Clark on Gluttonous.
I’ve been playing a lot with mocks lately (and I’m a bit post happy today) so I thought I’d show off a bit of code that was useful in...

Mocks for Speed


over 5 years ago by Kevin Clark on Gluttonous.
I’m starting to come around on the subject of using mock objects as opposed to just letting the code run. Here’s why: Loaded suite UnitTests...

Guide: Things You Shouldn't Be Doing In Rails


over 5 years ago by Kevin Clark on Gluttonous. [Linked from: Riding Rails, Ruby Inside, Cardboard Rocket]
Koz recently checked code into core that kicks and screams all the way home if you’re using deprecated methods or instance variables. In honor of...

Colorize Your Tests


over 5 years ago by Kevin Clark on Gluttonous.
Are your test runs dull and listless? Do you miss the red/green bar of JUnit? Well, now you don’t have to! Between Pat Eyler’s RedGreen and...

mkrf 0.1.1 Released


almost 6 years ago by Kevin Clark on Gluttonous.
Today I tagged mkrf’s 0.1.1 release. It fixes several of the shortcomings of it’s predecessor. ...

Server Now a Rails Machine


almost 6 years ago by Kevin Clark on Gluttonous.
Today I finished moving my blog hosting from Planet Argon to my shiny new Rails Machine and upgraded to Typo 4. If you see problems in the feed or display...