19 Nov '12, 12am

RoR Acceptance Testing: Very good article on Ruby on Rails acceptance and unit testing.

Acceptance Testing Andy Lindeman @alindeman RSpec Core Team Highgroover Levels of Testing Roughly speaking... Unit Tests Integration Tests Acceptance Tests Unit Tests Isolation Dependencies often mocked or stubbed No filesystem, network, database (Rails "unit" tests ) Programmer Tests Acceptance Tests End-to-end (as much as is feasible) No implementation details (black box) Often based on a user story Can be run locally or remotely Customer Tests A few quick examples... Unit Test describe BankAccount do specify "new accounts have a zero balance" do account = BankAccount.new expect(account.balance).to eq(BigDecimal("0.00")) end end Acceptance Test (Cucumber/Gherkin) As a depositor In order to safeguard my money I want to hold it in a bank account Given I am a depositor When I open a new bank account Then my balance is $0.00 Acceptance Test Given /I am a depositor/ do @user ...

Full article: http://alindeman.github.com/acceptance_testing/

Tweets

SEOClearly: A/B Testing SEO Reports that Make Sense

SEOClearly: A/B Testing SEO Reports that Make S...

searchenginejournal.com 20 Nov '12, 12am

The software generates reports in a matter of seconds, based on parameters you set up for your test. If you want to see ho...

Hmmm… what’s this “secret shoe” @Runblogger is ...

runblogger.com 18 Nov '12, 6pm

How do you know when a running shoe is right for you? I’ve often contemplated this question, and for me at least, I can us...

Public Opposition to Animal Testing is Growing

Public Opposition to Animal Testing is Growing

care2.com 17 Nov '12, 6pm

A government funded research study conducted by Ipsos MORI has found that public opposition to animal testing is growing, ...

Ricky Gervais’ Simple Solution to Stopping Anim...

ecorazzi.com 18 Nov '12, 6pm

Ricky Gervais’ Simple Solution to Stopping Animal Testing 0 Tweet by Ali Berman November 9, 2012 Categories: Animals , Cau...

From Edwards AFB: F-35 begins integration phase of weapons testing with AMRAAM datalink

From Edwards AFB: F-35 begins integration phase...

af.mil 20 Nov '12, 6pm

EDWARDS AIR FORCE BASE, Calif. (AFNS) -- The Joint Strike Fighter began the integration phase of weapons testing Oct. 26, ...

Bing Testing Social Sidebar With New Look, More...

searchengineland.com 23 Nov '12, 7pm

Read before commenting! We welcome constructive comments and allow any that meet our common sense criteria. This means bei...