PHPUnit pocket guide

PHPUnit pocket guide

by Bergmann, Sebastian

Type Book
Rate 0.0 /5

Smart web developers will tell you that the sooner you detect your code mistakes, the quicker you can fix them, and the less the project will cost in the long run. Well, the most efficient way to detect your mistakes in PHP is with PHPUnit, an open source framework that automates unit testing by running a battery of tests as you go. The benefits of PHPUnit are significant: a reduction in the effort required to frequently test codefewer overall defectsadded confidence in your codeimproved relati…

Read More ↓

Title Statements

  • Full title :PHPUnit pocket guide / Sebastian Bergmann.

Summary

Smart web developers will tell you that the sooner you detect your code mistakes, the quicker you can fix them, and the less the project will cost in the long run. Well, the most efficient way to detect your mistakes in PHP is with PHPUnit, an open source framework that automates unit testing by running a battery of tests as you go. The benefits of PHPUnit are significant: a reduction in the effort required to frequently test codefewer overall defectsadded confidence in your codeimproved relations with your open source teammates The o.

Read More ↓

Edition Statements

  • Publication Date:©20056
  • Edition:First edition

Publication Statements

  • Publisher(s):O'Reilly
  • Place of Publication:Beijing
  • Language:eng
  • Publication Date:©20056

Notes

Includes index.

The Physical Object

  • Description:1 online resource (95 pages)

Edition Identifiers

  • ISBN:1306815487, 9781306815482, 0596528965, 9780596528966, 0596553471, 9780596553470, 9780596101039, 0596101031
  • oclc:on1295601725
  • LC Classification:QA76.73.P224
  • Dewey Decimal:006.74

Table of Contents

PHPUnit Pocket Guide; 1. Introduction; 1.2. This Book Is Free; 1.3. Conventions Used in This Book; 1.4. How to Contact Us; 1.5. Acknowledgments; 2. Automating Tests; 3. PHPUnit's Goals; 4. Installing PHPUnit; 5. The Command-Line Test Runner; 6. Fixtures; 6-2. Variations; 6-3. Suite-Level Setup; 7. Testing Exceptions and Performance Regressions; 7-2. Performance Regressions; 8. Incomplete Tests; 9. Test-First Programming; 10. Code-Coverage Analysis; 11. Stubs; 12. Other Uses for Tests; 12-2. Cross-Team Tests; 12-3. Debugging Tests; 12-4. Refactoring; 13. PHPUnit and Phing

14. PHPUnit's Implementation15. PHPUnit API; 15-2. PHPUnit2_Framework_Assert; 15-3. PHPUnit2_Framework_Test; 15-4. PHPUnit2_Framework_TestCase; 15-5. PHPUnit2_Framework_TestSuite; 15-6. PHPUnit2_Framework_TestResult; 15-7. Package Structure; 16. Extending PHPUnit; 16-2. Assert Classes; 16-3. Subclass PHPUnit2_Extensions_TestDecorator; 16-4. Implement PHPUnit2_Framework_Test; 16-5. Subclass PHPUnit2_Framework_TestResult; 16-6. Implement PHPUnit2_Framework_TestListener; 16-7. New Test Runner; 17. PHPUnit for PHP 4; 18. Bibliography

Read More ↓

Subjects

Writers

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • PHPUnit Pocket Guide -- (.chm)

    CHM · 190.5 KB · updated
  • PHPUnit Pocket Guide (Pocket Guides) -- (.pdf)

    PDF · 431.6 KB · updated