Instant Hands-on Testing with PHPUnit How-to

Language: English

Published by Packt Publishing Limited, GB, 2023

178216958X / 9781782169581

  • Softcover
  • New
See all details

Seller: Rarewaves.com USA, London, London, United KingdomRarewaves.com USA

5-star seller

AbeBooks seller since June 11, 2025

Softcover

Condition: New

£ 28.52

 Free Shipping 
Ships from United Kingdom to U.S.A.

Quantity: Over 20 available

Add to basket
Free 30-day returns

Item description from seller

A practical guide to getting started with PHPUnit to improve code qualityKey FeaturesLearn something new in an Instant! A short, fast, focused guide delivering immediate resultsDiscover how to make best use of PHPUnit in your projectsGet started with code testing using PHPUnit in no timeLearn how to use PHPUnit like a seasoned veteranBook DescriptionNo developer wants to accept the inherent difficulty of writing software as an excuse for not finding the bugs in our code before anyone else does. PHPUnit is a framework that was created to allow developers to solve that very problem. It provides a feature-rich environment with most of the tools necessary to provide adequate tests for any project."Instant Hands-on Testing with PHPUnit How-to" provides a thorough overview of the functionality provided by the PHPUnit framework. It shows how the plethora of features in the framework can be used to write tests for real world projects to ensure they function and will continue to function in the ways that you expect.This book will show how you can set up the scaffolding necessary to run unit tests in your project with PHPUnit. It will walk you through the process of how to write a basic test and how to maintain your project's test suite. You will learn how to use some of the more advanced features of PHPUnit and then see how you can use mock objects to isolate the code you are testing. We will then discover how to create tests that verify your interaction with databases and even see how you can use PHPUnit to understand which code you are actually testing.At the end of the book you will have all of the basic understanding necessary to begin adding tests to your project. This book provides a great foundation for becoming a expert at writing unit tests.What you will learnBootstrap PHPUnit into your project in a standard wayUnderstand the anatomy of a PHPUnit testCreate data providers to quickly create tests against multiple datasetsUse PHPUnit s skeleton generator to generate code from tests or tests from codeDeclare test dependencies to help isolate test failuresTest abstract classes, traits, and protected methodsTest database interactions in your unit testsWho this book is for"Instant Hands-on Testing with PHPUnit How-to" is for PHP developers that have an appreciation for writing accurate code. If you are new to PHPUnit, it will give you a solid foundation for understanding how to use PHPUnit to write tests for your projects. If you already have a cursory understanding of PHPUnit it will whet your appetite for some of the more difficult-to-understand concepts in PHPUnit.…

Title
Instant Hands-on Testing with PHPUnit How-to
Author
Mike Lively
Publisher
Packt Publishing Limited, GB
Publication year
2023
Condition
New
Binding
Digital
Language
English
ISBN 10
178216958X
ISBN 13
9781782169581

Rarewaves.com USA

London, London, United Kingdom

5-star seller

AbeBooks seller since June 11, 2025

Shipping rates from United Kingdom to U.S.A.

Item9 to 14 business days9 to 14 business days
First item£ 0.00£ 0.00
Delivery times are set by sellers and vary by carrier and location. Orders passing through Customs may face delays and buyers are responsible for any associated duties or fees. Sellers may contact you regarding additional charges to cover any increased costs to ship your items.

Payment methods

  • Visa
  • Mastercard
  • American Express
  • Apple Pay
  • Google Pay

Seller's business information

RAREWAVES.COM LIMITED

Elsley Court, 20-22 Great Titchfield Street
London, United Kingdom W1W 8BE