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

Unit Testing @ Educ 2016

Unit Testing @ Educ 2016

Talk about unit testing in particular, and automated testing in general, at the 2016 European Dataflex Users' Conference in Berlin

Ola Eldøy

May 13, 2016
Tweet

Other Decks in Programming

Transcript

  1. UNIT TESTS GIVE YOU A SAFETY NET – INSTANT FEEDBACK

    EXECUTABLE SPECS WORKING SOFTWARE
  2. AN INTEGRATION TEST MAY USE THE DATABASE NEEDS A FRESH

    START EVERY TIME STILL NEEDS TO BE AUTOMATED
  3. NO TIME TO WRITE TESTS? WHAT ABOUT… HAVING CODE THAT

    WORKS THAT YOU CAN CHANGE, REFACTOR
  4. IT TAKES A LOT OF TIME "Your tests represent a

    significant investment. They’ll pay off in minimizing defects and by allowing you to keep your production system clean through refactoring. But they also represent a continual cost. You need to continually revisit your tests as your system changes." - Pragmatic Unit Testing in Java 8 with JUnit (Jeff Langr with Andy Hunt & Dave Thomas)