Loading presentation...
Prezi is an interactive zooming presentation

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Unit Testing?! a Pragmatic Introduction

An oversimplified, pragmatic introduction to Software Unit Testing.
by

Richard Adleta

on 17 April 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Unit Testing?! a Pragmatic Introduction

FAIL TESTS TEST Unit Testing?! a Pragmatic Introduction by Richard Adleta Unit Testing "Code which checks code" defined Unit Testing why?! prevents BUGS FUTURE exposes BUGS earlier BUGS highlights deSIGN Unit Testing how?! decide what? write wRITE( ); scope? fails? success? WHAT to CRITICAL COMPLEX USED OFTEN OR 80/20 RULE cover as MUCH with as LITTLE as you can ASSERT COMMENT Repeatable FAST ATOMIC Clean UP Assert all your assumptions Test should behave the same every time Test should be quick A test should not rely on other tests Add lots of comments about the intent of your test code Test should always clean up after itself GOOD
TESTS always make sure your does it really work?! SUCCESS always leave your tests with "The longer it's broken; the harder it is to fix." Unit Testing resources and references
Full transcript