Wrong confirmation ID
  • Email
  • Favorite
  • Embed
  • Private Content

Introduction to PHPUnit & Best Practices

by Sebastian Bergmann on Jul 21, 2009

  • 11,811 views

Although Unit Testing is a recommended practice for any software project, care has to be exercised such that testing yields the desired benefits. Bad programming practices in both test code and product...

Although Unit Testing is a recommended practice for any software project, care has to be exercised such that testing yields the desired benefits. Bad programming practices in both test code and production code can make Unit Testing a nightmare. Maintenance of an overly complex test suite can easily become a burden to the project team.

This session, given by the creator of PHPUnit, will shine a light on best practices when it comes to testing PHP code.

Accessibility

Categories

Tags

phpunit php configuration programming best practices dev qa best practices tool phpunit language php

More...

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

11 Embeds 440

http://blog.hsdn.net 301
http://www.slideshare.net 78
http://tipsfromphil.blogspot.com 35
http://tipsfromphil.blogspot.co.uk 10
http://192.168.10.3 8
http://translate.googleusercontent.com 2
http://tipsfromphil.blogspot.de 2
http://tipsfromphil.blogspot.com.ar 1
http://webcache.googleusercontent.com 1
http://tipsfromphil.blogspot.com.br 1
http://tipsfromphil.blogspot.pt 1

More...

Statistics

Favorites
15
Downloads
240
Comments
1
Embed Views
440
Views on SlideShare
11,371
Total Views
11,811

11 of 1 previous next

  • ElAstutoSanchez El Astuto Sanchez I'd like to know how test files(php) that use
    require_once $_SERVER['DOCUMENT_ROOT'].'/path/myFile.php';

    I mean, without refactoring myFile.php, thanks
    8 months ago Reply
    Are you sure you want to Yes No
Post Comment
Edit your comment Cancel

Introduction to PHPUnit & Best Practices — Presentation Transcript