Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The State of Testing 2018 - Why Aren't Devs Tes...

The State of Testing 2018 - Why Aren't Devs Testing?

A short 5-minute presentation given at This Dot's "The State of Testing 2018" online roundtable.

Kevin Lamping

December 18, 2018
Tweet

More Decks by Kevin Lamping

Other Decks in Programming

Transcript

  1. *The reasons developers don’t test their code is multifaceted and

    not a reflection of their skill or worth as a human being (and a lot of developers *do* test their code)
  2. “How much automated testing do you feel you have on

    a typical project?” Disclaimer, it's only 27 votes… from people who follow me
  3. •Unit Tests allows you to make big changes to code

    quickly. •TDD helps you to realize when to stop coding. •The tests and the code work together to achieve better code. •TDD helps with coding constipation. When faced with a large and daunting piece of work ahead writing the tests will get you moving quickly. •Unit Tests help you really understand the design of the code you are working on. •Unit Tests give you instant visual feedback, we all like the feeling of all those green lights when we've done. •Contrary to popular belief unit testing does not mean writing twice as much code, or coding slower. •Good unit tests can help document and define what something is supposed to do •Unit tests help with code re-use. https://stackoverflow.com/questions/67299/is-unit-testing-worth-the-effort/
  4. •Unit Tests allows you to make big changes to code

    quickly. •TDD helps you to realize when to stop coding. •The tests and the code work together to achieve better code. •TDD helps with coding constipation. When faced with a large and daunting piece of work ahead writing the tests will get you moving quickly. •Unit Tests help you really understand the design of the code you are working on. •Unit Tests give you instant visual feedback, we all like the feeling of all those green lights when we've done. •Contrary to popular belief unit testing does not mean writing twice as much code, or coding slower. •Good unit tests can help document and define what something is supposed to do •Unit tests help with code re-use. https://stackoverflow.com/questions/67299/is-unit-testing-worth-the-effort/
  5. "I can't be effective at my job if I'm not

    able to spend time working on tests"