Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Intro To Test Driven Development

on

  • 636 views

Slides to compliment code for my intro to Test Driven Development

Slides to compliment code for my intro to Test Driven Development

Statistics

Views

Total Views
636
Views on SlideShare
634
Embed Views
2

Actions

Likes
0
Downloads
6
Comments
0

2 Embeds 2

http://www.linkedin.com 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Intro To Test Driven Development Intro To Test Driven Development Presentation Transcript

    • Intro to Test Driven Development Chris Tankersley Joind.in Link: http://joind.in/2347 E-mail: [email_address] Twitter: @dragonmantank
    • Who Are You and Why Are You In My House? Chris Tankersley Been doing PHP for almost 8 years now Lots of projects no one uses released under the BSD license Contributer to the Habari Project
    • What is Test Driven Development? „Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes a failing automated test case that defines a desired improvement or new function, then produces code to pass that test and finally refactors the new code to acceptable standards.” http://en.wikipedia.org/wiki/Test-driven_development
    • Why Do TDD?
      • Considered a Best Practice amongst almost all languages
      • Provides confidence in the code
      • Provides confidence in the requirements
      • Proves remediation
    • TDD is Easy
      • Write a Test
      • Watch it Fail
      • Write Code
      • Test
      • Repeat 3 and 4 until Passing
      • Repeat All
    • Our Sample Application
      • Create an application to test basic math skills
      • We need a Calculator to add numbers
        • Needs to handle bad input
      • We need a Tutor class to test answers
    • [CODE]
    • Links
      • PhpUnit
        • http://www.phpunit.de/
    • Thanks to
      • Jeremy Kendall
        • http://www.jeremykendall.net/