Steamed Design

  • Random
  • Archive
  • RSS
  • Ask me anything

Why using test coverage as a metric is stupid

Adding a useless test to increase test coverage check.

[TestMethod]
[ExpectedException(typeof(NotImplementedException))]
public void AddUsersToRolesTest()
{
    Roles.AddUsersToRoles(new string[] { }, new string[] { });
}
    • #unit test
    • #fail
  • 1 year ago
  • 1
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

About

Avatar Thoughts and work form a software developer in his attempts to learn some new stuff.

Pages

  • Example Code
  • Photo's from my Phone
  • Alpine Parrot
  • PSN
  • Careers 2.0
  • Old Blog

Me, Elsewhere

  • Korich on Forrst
  • @korich on Twitter
  • Facebook Profile
  • Linkedin Profile
  • korich on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union