Wednesday, December 16, 2009

How much unit test coverage you need?

Not less than 80% of coverage is advisable.

Effective test should consider not only code, but also input parameters, and application state which could also affect the behavior.

  1. test success condition
  2. test failure condition
  3. test boundary condition

http://www.codeproject.com/KB/testing/UnitTestVS2008.aspx

    1 comment:

    Anonymous said...

    Eredintentede
    [url=http://healthplusrx.com/mercury-toxicity]mercury toxicity[/url]
    Cidaviary