Your SlideShare is downloading. ×
  • Like
The Excercies Of Test Driven Development Being Infected The Php World
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

The Excercies Of Test Driven Development Being Infected The Php World

  • 2,822 views
Published

This is a talk is related with the TDD technique adopted in early times by the php community. …

This is a talk is related with the TDD technique adopted in early times by the php community.

Here you found information for either of two: simple test and phpunit frameworks.

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,822
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
152
Comments
0
Likes
2

Embeds 0

No embeds

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. Test Driven Development being infected the php world . Carlos Edwin Sandoval Díaz < [email_address] > ITSSP - June 13 th 2007
  • 2. Test Driven Development 2 Summary
    • What is TDD ?
    • TDD in the PHP world
    • Unit Test Tools
        • Simple Test
        • PHPunit
    • Conclusions
  • 3. Test Driven Development 2 Summary
    • What is TDD ?
    • TDD in the PHP world
    • Unit Test Tools
        • Simple Test
        • PHPunit
    • Conclusions
  • 4. Test Driven Development 3 What is TDD ?
    • Is a software development technique.
    • Is an aspect of Extreme Programming.
    • Y ou write a test before you write the production code .
    • T he goal is the specification and not the validation
    • Is a reason to do Unit Testing.
  • 5. Test Driven Development 3 What process involving TDD ?
  • 6. Test Driven Development 3 What process involving TDD ?
  • 7. Test Driven Development 3 TDD in the PHP world
    • Start testing first is better than trying of to solve the problems later.
    • Some developers might not like the idea of writing more code but it will save you a good time.
  • 8. Test Driven Development 3 What is Unit Testing
    • Is a procedure used to validate that individual units of source code are working properly.
    • A unit is the smallest testable part of an application for example: an individual program, function, procedure , class, etc..
    • The goal is to isolate each part of the program and show that the individual parts are correct.
  • 9. Test Driven Development 3 Unit Test Tools
    • For the PHP developers there are a few tools that let us to develop unit testing to our code. The more knew in PHP world are:
  • 10. Test Driven Development 3
    • Is a PHP unit test and web test framework.
    • It has support for SSL, forms, frames, proxies and basic authentication.
    • Was developed by Marcus Baker
    • Is an open source tool
  • 11. Test Driven Development 3
    • PHPUnit is an open source framework for test-driven development in any PHP-based code that automates unit testing .
    • It R educes the effort required to frequently test code while developing it.
    • Was developed by Sebastian Bergmann
  • 12. Test Driven Development 2 Questions?
  • 13. Test Driven Development 2 Resources
    • Blog ’s
    • Sebastian Bergmann: http://sebastian-bergmann.de/
    • Marcus Baker: http:// www . lastcraft . com / blog /
    • Articles:
    • http://en.wikipedia.org/wiki/Test-driven_development
    • http://www.agiledata.org/essays/tdd.html
    • http://en.wikipedia.org/wiki/Unit_testing
    • Recommended Testing Frameworks :
    • http://simpletest.org/
    • http://phpunit.de/
    • Free Ebooks:
    • http://www.phpunit.de/pocket_guide/index.en.php