The Excercies Of Test Driven Development Being Infected The Php World
Upcoming SlideShare
Loading in...5
×
 

The Excercies Of Test Driven Development Being Infected The Php World

on

  • 5,304 views

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.

Statistics

Views

Total Views
5,304
Views on SlideShare
5,300
Embed Views
4

Actions

Likes
2
Downloads
151
Comments
0

1 Embed 4

http://www.slideshare.net 4

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

The Excercies Of Test Driven Development Being Infected The Php World The Excercies Of Test Driven Development Being Infected The Php World Presentation Transcript

  • Test Driven Development being infected the php world . Carlos Edwin Sandoval Díaz < [email_address] > ITSSP - June 13 th 2007
  • Test Driven Development 2 Summary
    • What is TDD ?
    • TDD in the PHP world
    • Unit Test Tools
        • Simple Test
        • PHPunit
    • Conclusions
  • Test Driven Development 2 Summary
    • What is TDD ?
    • TDD in the PHP world
    • Unit Test Tools
        • Simple Test
        • PHPunit
    • Conclusions
    View slide
  • 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.
    View slide
  • Test Driven Development 3 What process involving TDD ?
  • Test Driven Development 3 What process involving TDD ?
  • 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.
  • 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.
  • 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:
  • 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
  • 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
  • Test Driven Development 2 Questions?
  • 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