Steve Barker
2009-02-10 12:38:02 UTC
Hi guys,
Having done a bit of research, I would say that 80% unit test coverage is
accepted as the industry standard goal. This makes sense, as 100% often isn’t
possible, or takes an age to achieve thanks to the law of diminishing returns.
[I understand that coverage alone isn’t enough, as often code needs to be
tested with multiple conditions, but that’s another issue.]
So, it would be great if it was possible to create a check-in policy that
requires 80% unit test coverage. Does anyone know how to do this?
Thanks in advance!
Steve.
Having done a bit of research, I would say that 80% unit test coverage is
accepted as the industry standard goal. This makes sense, as 100% often isn’t
possible, or takes an age to achieve thanks to the law of diminishing returns.
[I understand that coverage alone isn’t enough, as often code needs to be
tested with multiple conditions, but that’s another issue.]
So, it would be great if it was possible to create a check-in policy that
requires 80% unit test coverage. Does anyone know how to do this?
Thanks in advance!
Steve.