29 Dec '13, 5am

@steveklabnik I was looking for a good tut to introduce someone to tdd and found : thanks! its perfect.

Luckily, there is! Ruby has fantastic tools that let you set up tests for your code that you can run automatically. You can save yourself tons of time and effort by letting the computer run thousands of tests every time you make a change to your code. And it’ll never get tired and accidentally type in a 2 when you mean to type 3… Many people take this one step farther. They find testing so important and so helpful that they actually write the tests before they write the code! I won’t expound on the virtues of “test driven development” in this post, but it’s actually easier to write the tests first, once you get some practice at it. So, let’s pick a tiny bit of code to work on, and I’ll show you how to test it using Ruby’s built-in testing library, minitest.

Full article: http://rubylearning.com/blog/2011/07/28/how-do-i-test-my-...

Tweets

Test di velocità da Pingdom Tools: 1.97 secondi...

tools.pingdom.com 28 Dec '13, 9am

We built this Full Page Test tool to help you analyze the load speed of your websites and learn how to make them faster. I...

Girlfriend Code

ohsofickle.blogspot.com 28 Dec '13, 4am

There's one thing I absolutely cannot stand. That is good friends sharing the same boy. How is it possible for them to sle...

This simple sitting test could predict how long you will live

This simple sitting test could predict how long...

mnn.com 26 Dec '13, 10pm

It's a question we often ponder, especially as we age: How many years do I have left? Well, thanks to Brazilian physician ...

Thanks to Congress, 2014 will bring uncertainty...

grist.org 29 Dec '13, 2pm

The U.S. House of Representatives has already gone on vacation back to their districts and the Senate effectively adjourne...

Thanks to Congress, 2014 will bring uncertainty...

grist.org 29 Dec '13, 1pm

The U.S. House of Representatives has already gone on vacation back to their districts and the Senate effectively adjourne...

Looking back at 2013: Report card on top mobile...

luxurydaily.com 27 Dec '13, 7am

Home >> Columns , Featured , Opinion >> Article: Looking back at 2013: Report card on top mobile predictions Email this Pr...

@yennator Tammy tay commented abt it.

ohsofickle.blogspot.com 28 Dec '13, 2pm

There's one thing I absolutely cannot stand. That is good friends sharing the same boy. How is it possible for them to sle...

Blimey. Cheryl Cole looks mighty good with a hangover doesn't she? (via @handbagcom)

Blimey. Cheryl Cole looks mighty good with a ha...

handbag.com 28 Dec '13, 3pm

Hangovers. Can't live with them, can't live without them. Unless your name is Cheryl Cole , of course. © Instagram / Chery...

11 Inexpensive Portable Test Tools that work

eetimes.com 30 Dec '13, 12am

I've been using the Analog Discovery for two weeks now, and had been experimenting with Digilent's Waveforms software (a f...

How SEO Greed Can Ruin A Perfectly Good Linking...

searchengineland.com 28 Dec '13, 5pm

By now, you are likely aware of the Rap Genius “Tweet In Exchange For Anchor Text” link scheme, hencefore to be known as T...

To make the perfect cup of coffee, weigh the ground coffee with digital scales

To make the perfect cup of coffee, weigh the gr...

coffeedetective.com 28 Dec '13, 4pm

When and why I use digital coffee scales before brewing. When I tell you I sometimes use scales to weigh my coffee to the ...

Nespresso Collection Sets Make the Perfect Last Minute Gift

Nespresso Collection Sets Make the Perfect Last...

justluxe.com 23 Dec '13, 11pm

Looking for a last minute gift for someone impossible to shop for? Maybe you should fall back on the fact that the majorit...

How SEO Greed Can Ruin A Perfectly Good Linking...

searchengineland.com 27 Dec '13, 9pm

By now, you are likely aware of the Rap Genius “Tweet In Exchange For Anchor Text” link scheme, hencefore to be known as T...