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!

Like this? Share it with your network

Share

Intro To Test Driven Development

  • 739 views
Uploaded on

Slides to compliment code for my intro to Test Driven Development

Slides to compliment code for my intro to Test Driven Development

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
739
On Slideshare
737
From Embeds
2
Number of Embeds
2

Actions

Shares
Downloads
8
Comments
0
Likes
0

Embeds 2

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

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Intro to Test Driven Development Chris Tankersley Joind.in Link: http://joind.in/2347 E-mail: [email_address] Twitter: @dragonmantank
  • 2. 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
  • 3. 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
  • 4. Why Do TDD?
    • Considered a Best Practice amongst almost all languages
    • 5. Provides confidence in the code
    • 6. Provides confidence in the requirements
    • 7. Proves remediation
  • 8. TDD is Easy
  • 14. Our Sample Application
    • Create an application to test basic math skills
    • 15. We need a Calculator to add numbers
      • Needs to handle bad input
    • We need a Tutor class to test answers
  • 16. [CODE]
  • 17. Links
    • PhpUnit
      • http://www.phpunit.de/
  • 18. Thanks to
    • Jeremy Kendall
      • http://www.jeremykendall.net/