the space between the movement RSS

Archive

Twitter

Rails Machine

Mar
1st
Sun
permalink

Testing Dash Metrics with Cucumber

While continuing to dork around with Dash, I wanted to test the metrics gathered using the plugin from part 1. I wrote some basic steps that will allow you to fetch and perform tests on your own metrics. Be sure you have webrat installed in your project and available to Cucumber. Download dash_steps.rb and add to features/step_definitions. Update the APPKEY with the key for your application.

Here is an example feature.

For super-coolness, integrate with cucumber-nagios for notification support when your tests fail.

Instead of writing boring monitoring plugins from scratch, you can now do behavior driven ops! Transform from a grumpy, misanthropic sysadmin to a hipster, agile developer instantly.

Comments (View)
permalink

Portland, Oregon - Lorretta Lynn & Jack White

Comments (View)
permalink

Today I’m trying a new cologne: Wet Dog.

Comments (View)
permalink
Comments (View)
Feb
28th
Sat
permalink

Cucumber metrics with Dash

While learning how to implement custom metrics for Dash, I hacked together a littlesensor plugin that runs Cucumber on a given path and reports on passing, failing, skipped, and pending steps.

To use, save the plugin to ~/.fiveruns-dash-sensor and add the following to config.rb:

sensor.plugin 'cucumber', :path => 'PATH_TO_ROOT'

More on sensor. This plugin was inspired by cucumber-nagios.

dash-cucumber
Uploaded with plasq’s Skitch!

Comments (View)
permalink
If you want to encourage startups in a particular city, you have to fund startups that won’t leave.
Comments (View)
permalink

The Raconteurs - “Old Enough” Featuring Ricky Skaggs & Ashley Monroe

Comments (View)
permalink

Just added disqus comments.

Comments (View)
permalink
FC AFC Palm Glades Lee’s Madeline

FC AFC Palm Glades Lee’s Madeline

Comments (View)
permalink
Sister places 2nd at NGSPA Region 16 Derby Classic at Di-Lane Plantation

Sister places 2nd at NGSPA Region 16 Derby Classic at Di-Lane Plantation

Comments (View)