Items related to Instant Hands-on Testing With Phpunit How-to

Instant Hands-on Testing With Phpunit How-to - Softcover

 
9781782169581: Instant Hands-on Testing With Phpunit How-to

Synopsis

A practical guide to getting started with PHPUnit to improve code quality with this book and ebook

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Discover how to make best use of PHPUnit in your projects
  • Get started with code testing using PHPUnit in no time
  • Learn how to use PHPUnit like a seasoned veteran

In Detail

No 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 learn from this book

  • Bootstrap PHPUnit into your project in a standard way
  • Understand the anatomy of a PHPUnit test
  • Create data providers to quickly create tests against multiple datasets
  • Use PHPUnit’s skeleton generator to generate code from tests or tests from code
  • Declare test dependencies to help isolate test failures
  • Test abstract classes, traits, and protected methods
  • Test database interactions in your unit tests

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This is a Packt Instant How-to guide, which provides concise and clear recipes for getting started with PHPUnit for performing code testing and improving code quality.

Who this book is written 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.

"synopsis" may belong to another edition of this title.

About the Author

Michael Lively has worked in a variety of roles in the software development industry for 12 years, from developer to architect and now a software development director. He has worked on a variety of different projects and a variety of different technologies over that time, from small home-grown sites serving a handful of regular users to large enterprise platforms serving millions of consumers. In addition to his professional work, he has been an active member of the PHP open source community. Some of his contributions include the database extension for PHPUnit and more recently an alternative mocking framework for PHP called Phake.

"About this title" may belong to another edition of this title.

  • PublisherPackt Pub Ltd
  • Publication date2013
  • ISBN 10 178216958X
  • ISBN 13 9781782169581
  • BindingPaperback
  • LanguageEnglish
  • Number of pages82

Buy Used

Condition: Very Good
***Simply Brit*** Welcome to our...
View this item

US$ 21.24 shipping from United Kingdom to U.S.A.

Destination, rates & speeds

Other Popular Editions of the Same Title

9789351103653: Instant Hands-on Testing with PHPunit How-to

Featured Edition

ISBN 10:  935110365X ISBN 13:  9789351103653
Publisher: Shroff Publishers & Distribu..., 2014
Softcover

Search results for Instant Hands-on Testing With Phpunit How-to

Stock Image

Lively, Mike
Published by Packt Pub Ltd, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New Softcover

Seller: California Books, Miami, FL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # I-9781782169581

Contact seller

Buy New

US$ 32.00
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Mike Lively
Published by Packt Publishing Limited, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New PAP
Print on Demand

Seller: PBShop.store US, Wood Dale, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781782169581

Contact seller

Buy New

US$ 34.86
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Mike Lively
Published by Packt Publishing Limited, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New PAP
Print on Demand

Seller: PBShop.store UK, Fairford, GLOS, United Kingdom

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781782169581

Contact seller

Buy New

US$ 34.66
Convert currency
Shipping: US$ 5.53
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Lively, Michael
Published by Packt Publishing, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
Used Paperback

Seller: Brit Books, Milton Keynes, United Kingdom

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Paperback. Condition: Used; Very Good. ***Simply Brit*** Welcome to our online used book store, where affordability meets great quality. Dive into a world of captivating reads without breaking the bank. We take pride in offering a wide selection of used books, from classics to hidden gems, ensuring there is something for every literary palate. All orders are shipped within 24 hours and our lightning fast-delivery within 48 hours coupled with our prompt customer service ensures a smooth journey from ordering to delivery. Discover the joy of reading with us, your trusted source for affordable books that do not compromise on quality. Seller Inventory # 3823553

Contact seller

Buy Used

US$ 26.52
Convert currency
Shipping: US$ 21.24
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Lively, Mike
Published by Packt Pub Ltd, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New Softcover

Seller: Ria Christie Collections, Uxbridge, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. In. Seller Inventory # ria9781782169581_new

Contact seller

Buy New

US$ 32.19
Convert currency
Shipping: US$ 15.92
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Michael Lively
Published by Packt Publishing 2013-05-23, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New Paperback

Seller: Chiron Media, Wallingford, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: New. Seller Inventory # 6666-IUK-9781782169581

Contact seller

Buy New

US$ 28.99
Convert currency
Shipping: US$ 20.58
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 10 available

Add to basket

Stock Image

Michael Lively
Published by Packt Publishing, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New Paperback

Seller: Revaluation Books, Exeter, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Brand New. 82 pages. 9.25x7.50x0.19 inches. In Stock. Seller Inventory # x-178216958X

Contact seller

Buy New

US$ 39.30
Convert currency
Shipping: US$ 13.29
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 2 available

Add to basket

Stock Image

Mike Lively
Published by Packt Publishing Limited, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New Paperback / softback
Print on Demand

Seller: THE SAINT BOOKSTORE, Southport, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback / softback. Condition: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days 526. Seller Inventory # C9781782169581

Contact seller

Buy New

US$ 37.45
Convert currency
Shipping: US$ 15.96
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Seller Image

Mike Lively
Published by Packt Publishing, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New Taschenbuch
Print on Demand

Seller: AHA-BUCH GmbH, Einbeck, Germany

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Taschenbuch. Condition: Neu. nach der Bestellung gedruckt Neuware - Printed after ordering - Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This is a Packt Instant How-to guide, which provides concise and clear recipes for getting started with PHPUnit for performing code testing and improving code quality.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. Seller Inventory # 9781782169581

Contact seller

Buy New

US$ 48.27
Convert currency
Shipping: US$ 32.59
From Germany to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Seller Image

Lively, Mike
Published by Packt Publishing, 2013
ISBN 10: 178216958X ISBN 13: 9781782169581
New Softcover

Seller: moluna, Greven, Germany

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. KlappentextFilled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This is a Packt Instant How-to guide, which provides concise and clear recipes for getting started with PHPUnit f. Seller Inventory # 448313000

Contact seller

Buy New

US$ 39.60
Convert currency
Shipping: US$ 55.34
From Germany to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket