25 Nov '13, 1pm

Two good blog posts on stubbing from @thoughtbot: + #testing

Don't Stub the System Under Test Joe Ferris November 22, 2013 ruby testing xUnit Test Patterns defines the System Under Test (SUT) as: whatever class, object or method we are testing; when we are writing customer tests, the SUT is probably the entire application or at least a major subsystem of it. The System Under Test helps us focus on what we're really testing, what Depended-On Components (DOC) interact with it, and how to replace a Depended-On Component with a Test Double (such as a stub, spy, or fake). However, it can be tempting to also stub parts of the System Under Test. This should be avoided. Why not stub the System Under Test? The goal of the guideline "Don't Stub the System Under Test" is to help us use tests as a guide for when to split up a class. If a behavior is so complicated that we felt compelled to stub it out in a test, that behavior is its own concern...

Full article: http://robots.thoughtbot.com/don-t-stub-the-system-under-...

Tweets

Don't Stub the System Under Test

robots.thoughtbot.com 22 Nov '13, 4pm

Don't Stub the System Under Test Joe Ferris November 21, 2013 ruby testing refactoring xUnit Test Patterns defines the Sys...

San Francisco's BART System Went Down Due to Server Upgrade Gone Bad

San Francisco's BART System Went Down Due to Se...

spectrum.ieee.org 25 Nov '13, 4pm

During last week’s round-the-clock Obamacare website glitch watch, for instance, we heard a government official admit that...

YouTube: New Comments System Stays But We're Improving It

YouTube: New Comments System Stays But We're Im...

reelseo.com 26 Nov '13, 4pm

After a couple of weeks of radio silence, YouTube have at last issued some feedback regarding the super popular new commen...

Nissan carries out first public road test of Autonomous Drive on expressways in Japan

Nissan carries out first public road test of Au...

greencarcongress.com 25 Nov '13, 10am

Nissan carries out first public road test of Autonomous Drive on expressways in Japan 25 November 2013 Nissan Motor Corpor...

Nissan Leaf passes autonoumous driving test on Japanese highway [w/video]

Nissan Leaf passes autonoumous driving test on ...

green.autoblog.com 26 Nov '13, 11pm

Nissan Carries Out First Public Road Test of Autonomous Drive on Expressways in Japan YOKOHAMA, Japan – Nissan Motor Corpo...

Nike Kobe 8 System “Green Glow”

kicksonfire.com 26 Nov '13, 11pm

nike-kobe-8-system-green-glow-pit-viper Adding to the lineup of Kobe 8 ‘s, a new colorway has surfaced with a release date...

@hotgazpacho yeah, it's a bit different.

robots.thoughtbot.com 28 Nov '13, 3am

Use Factory Girl's build_stubbed for a Faster Test Suite Josh Clayton May 09, 2012 factory girl rails slow tests testing W...

@blainsmith yeah you shouldn't be using system ...

robots.thoughtbot.com 02 Dec '13, 11pm

Joel Oliveira June 28, 2013 ruby OS X Mavericks may ship with Ruby 2.0. Cool, right? Don’t touch it. Why eschew system Rub...

Faking Remote Services with Rack::Test

robots.thoughtbot.com 17 Nov '13, 12am

Faking Remote Services with Rack::Test Joe Ferris November 16, 2013 testing ruby Using Rack middleware, we can reroute Rac...

EDN's Best-In-Test voting is now open through D...

edn.com 30 Nov '13, 3am

The poll will first ask you to enter your e-mail address. After entering your address, you come to the page for selecting ...

@FSC_US using forensic science to test species ...

buildinggreen.com 27 Nov '13, 11pm

New testing would detect the presence of endangered species or genetically modified organisms in wood products. By Paula M...