The Devver Blog

  1. About
  2. How it Works
  3. Documentation
  4. Blog
  5. Caliper
  6. Contact

  • Tips for Testing: Tip #6

    by Ben

    Tip 6: Don't be dogmatic

    There are a lot of best practices for testing that may or may not apply to your situation. Should you have one assertion per test? Should you use mocks and stubs? Should you use Test Driven Development? Or Behavior Driven Development? Should you do interaction or state-based testing? While all of these practices have real benefits, remember that their applicability and value depends largely on your project, schedule, and team.

    Don't be afraid to play, but don't feel like you need to convert everything to the one, true way to test. It's fine to have a suite that mixes and matches these best practices. In other words, context is king.

    Devver Caliper: Hosted metric_fu for your Ruby project.
    Get set up in under a minute

    Posted on June 30th, 2008 by Ben in Testing.


  • We'll be at MountainWest RubyConf!
  • Lijit Search
  •    subscribe to our feed


  • Devver

    • Home
    • Blog
    • Twitter
  • Blogroll

    • Ask the VC
    • Colorado Startups
    • David Cohen
    • Feld Thoughts
    • Mendelson’s Musings
    • Peter Norvig
    • Reg Braithwaite
    • Seth Levine’s VC Adventure
    • TechStars Community
  • Categories

    • Amazon Web Services
    • Boulder
    • Development
    • Devver
    • First Steps
    • Funding
    • Hacking
    • Misc
    • Ruby
    • TechStars
    • Testing
    • Tips & Tricks
    • Tools
    • Uncategorized
  • Recent Posts

    • Announcing Gemcutter/Caliper integration
    • Help us improve Caliper by taking a short survey
    • Avdi Grimm on Confident Code
    • Upcoming improvements for Caliper
    • Churn, a gem for class and method level churn rates
  • Archives

    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
  • Recent Comments

    • CTO « Sam Aparicio on Notes from the Boulder CTO lunch (11/3/2008)
    • Using Code Metrics with Purpose | SOA Governance - Service Oriented Architecture - SOA Business - SOA Design - SOA Services - SOA Software - SOA Solutions - SOA Security - SOA Web Service on Improving Code using Metric_fu
    • Project Set Up « The Stickies Project on Improving Code using Metric_fu
    • AK47 » links for 2009-12-27 on Building a iPhone web app in under 50 lines with Sinatra and iUI
    • Using Code Metrics with Purpose | Summa Blog on Improving Code using Metric_fu

Copyright © 2009 Devver, Inc. All rights reserved.