03 Oct '13, 1pm

Get more from Guard #rails

Anyone who’s read Everday Rails Testing with RSpec knows I’m a big fan of Guard . When coupled with a spec server like Spork, Guard helps make test-driven development in Rails more practical by watching your code and automatically running your tests to let you know when they pass (or stop passing). That’s not all Guard can automate, though, thanks to its plugin system and some built-in niceties. Here are some of my favorite ways to put Guard to use in my Rails projects. Test exploration You’ve written a failing test. You write the code to make the test pass. Except the test won’t pass, and you have no idea why. You could sprinkle puts and log messages in your spec and application code to try to understand what’s going on, or you could take advantage of one of Guard’s dependencies: Pry. Pry , the popular alternative to Irb, comes out-of-the-box with Guard. To use it in test...

Full article: http://everydayrails.com/2013/10/03/get-more-from-guard.html

Tweets

[link]Get more from Guard via @sharethis

everydayrails.com 03 Oct '13, 1pm

Anyone who’s read Everday Rails Testing with RSpec knows I’m a big fan of Guard . When coupled with a spec server like Spo...

It's #HumpDay & you know what that means #Quick...

stevemadden.com 02 Oct '13, 5pm

Receive Free Ground Shipping on orders over $75 by entering promotional code SMFREESHIP at checkout. Free Shipping promoti...

New ebook: Geocoding on Rails, Your Map to Geoc...

robots.thoughtbot.com 03 Oct '13, 2pm

New ebook: Geocoding on Rails, Your Map to Geocoding Rails Applications jdclayton October 3, 2013 rails geocoding If you’v...

I can get use to this!! :D

I can get use to this!! :D

stripes.com 02 Oct '13, 1pm

Related 2013 DODDS-Europe football schedule Kaiserslautern sports news Wiesbaden sports news A team that went 3-3 and miss...

Save $$$$$ Why get an #energyaudit? Here are 5 great reasons why!

Save $$$$$ Why get an #energyaudit? Here are 5 ...

resnet.us 04 Oct '13, 8pm

Home energy efficiency is quickly rising to top of the agenda for many homeowners. Increasing energy costs and uncomfortab...

I love GoDaddy – you will too! Use my referral ...

godaddy.com 05 Oct '13, 5pm

Choosing the right domain name. When customers want to find a business, whether it's a local restaurant or a global retail...

NEWBIES: Not ready to step outside? Treadmills ...

runnersworld.com 02 Oct '13, 11pm

Not ready to step outside? Treadmills offer a safe, convenient way to get your workouts even when it’s dark, snowy, or dan...

This needs to stop:

This needs to stop:

complex.com 04 Oct '13, 2am

"It's Bred. Like bread. Get it?" As if Jordan nicknames weren't bad enough on their own, creating visual puns based on sai...

BEGINNERS: Why you should slow down to get stro...

runnersworld.com 04 Oct '13, 1pm

Never underestimate the power of a good walk--and not just as a midrun break. Going for a "pure" walk (no running at all) ...

#Education will set you free. The Guard could p...

nationalguard.com 21 Sep '13, 9pm

As a Guard Soldier, you can fly free on military transportation within and between the continental United States, Alaska, ...

Get a free burrito on Oct 24

Get a free burrito on Oct 24

soshiok.com 03 Oct '13, 8am

SINGAPORE - Australia's popular Mexican restaurant Guzman y Gomez Mexican Taquería (GYG) will be setting up shop in Singap...