Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #c
  • #co
  • #cod
  • #code
  • #code-coverage
RSS: #code-coverage-myth

#code-coverage-myth

  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 12/02/2019

    The 100% Code Coverage Myth
    ▻https://hackernoon.com/the-100-code-coverage-myth-900b83d20d3d?source=rss----3a8144eabfe3---4

    https://cdn-images-1.medium.com/max/1024/1*jcwuJXPS5Lz-IpbnmFPGFQ.png

    Licensed from Adobe Stock PhotoThere’s a lot of advice around the internet right now saying that 100% coverage is not a worthwhile goal.I strongly disagree.Usually, code being hard to test is a sign that is needs to be refactored.I get it. A few years ago, I sucked at testing. I thought it was just something that would make me move more slowly.It simply wasn’t a thing that people did very often when I started coding. If it was, it was often a separate QA team that was responsible. A few years back though it became a real hot topic. Interviews started expecting candidates to know how to write tests, and more organizations were pushing it from the top down as a quality initiative.I always strive to be at the top of my game, and I decided walking into interviews and saying “testing isn’t (...)

    #unit-testing #software-development #react #code-coverage-myth #jest

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire