Slashdot Mirror


Test Coverage Leading You Astray?

An anonymous reader writes "Are your test coverage measurements leading you astray? Test coverage tools bring valuable depth to unit testing, but they're often misused. This article takes a closer look at what the numbers on the coverage report really mean, as well as what they don't. It then suggests three ways you can use your coverage to ensure code quality early and often."

6 of 48 comments (clear)

  1. Testing? by B4D+BE4T · · Score: 5, Funny

    Who needs testing? Doesn't everyone's code work perfectly on the first ru
    Segmentation fault

  2. Test coverage is just annoying... by meringuoid · · Score: 5, Funny
    ... they always cancel the stuff I want to watch to make way for it.

    Bloody cricket.

    --
    Real Daleks don't climb stairs - they level the building.
    1. Re:Test coverage is just annoying... by Anonymous Coward · · Score: 1, Funny

      yeah it led me astray, bloody poms winning the ashes.

  3. Re:Unit tests are too simplistic for many apps by Anonymous Coward · · Score: 1, Funny

    by BadAnalogyGuy (945258): Functions lie like dogs

    YHBT

  4. Yes by peterpi · · Score: 2, Funny
    The test coverage lead me astry last summer. My boss had a TV near his desk, and most afternoons we'd find ourselves gathered around it following the action. Thankfully he was as much into the game as I was, so it didn't really matter.

    Bit of a strange subject for slashdot, eh?

  5. Re:DO-178B - MCDC by Dachannien · · Score: 2, Funny

    She was a fast machine
    She kept her processor clean
    She was the best damn computer I had ever seen
    She had Bugzilla eyes
    Telling me no lies
    Knockin' me out with those APIs
    Taking more than her share
    Had me fighting for air
    She told me to com(pil)e but I was already there

    'Cause the walls start shaking
    The game was Quaking
    My mind was aching
    And we were make-ing it and you -

    Test me all night long
    Yeah you test me all night long