1 of 8

Slide Notes

DownloadGo Live

Unit Testing

Published on Nov 18, 2015

No Description

PRESENTATION OUTLINE

UNIT TESTING

WHAT IS UNIT TESTING?

PRACTICE OF TESTING COMPONENTS OF A PROGRAM AUTOMATICALLY

WHY UNIT TESTS?

HOW DO YOU KNOW SOMETHING IS WORKING AS DESIGNED
Photo by kevin dooley

REGRESSION TESTING

ENSURE THAT CHANGES DON'T BREAK THINGS THAT WORKED BEFORE
Photo by Dancing Lemur

DOCUMENT CODE

DEFINE OR UNDERSTAND WHAT SOMETHING IS SUPPOSED TO DO
Photo by LOSINPUN

SAVES YOU TIME

WHEN YOU'RE DEBUGGING, REFACTORING OR MAKING BIG CHANGES

BETTER CODE

IT MAY NOT BE RIGHT, BUT IT'S BETTER BECAUSE PARTIALLY TESTED
Photo by Mulad

JUST DO IT

AN IMPERFECT TEST TODAY IS BETTER THAN A PERFECT TEST SOMEDAY