Sharing Top Content from the Angular-sphere.

3 Reasons You Believe 100% Code Coverage Is Impossible

  • There is no really easy way to write tests for HTML.
  • I hope to achieve the ultimate goal of writing test prior to writing the real code.
  • Then I got to a point where I would at least attempt to write tests after I’d written some code.
  • I’ve added another 100 tests for the new scenarios and I’m pretty confident that the code I’ve written does what it should and doesn’t do what it shouldn’t.
  • But even though I wasn’t writing the tests first, I can still say that the tests were driving my development because I knew at some point, I was going to have to test the code with unit tests.

Read the full article, click here.


@ankosft: “3 Reasons You Believe 100% Code Coverage Is Impossible – DZone DevOps
#angularjs #reactjs”


Is there really a reason to argue against 100% code coverage? Nope!


3 Reasons You Believe 100% Code Coverage Is Impossible

Comments are closed, but trackbacks and pingbacks are open.