PHPUnit Essentials

Get started with PHPUnit and learn how to write and test codes using advanced technologies

PHPUnit Essentials

Zdenek Machek

1 customer reviews
Get started with PHPUnit and learn how to write and test codes using advanced technologies
Mapt Subscription
FREE
$40.00/m after trial
eBook
$10.00
RRP $26.99
Save 62%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


PHPUnit Essentials Book Cover
PHPUnit Essentials
$ 26.99
$ 10.00
Mastering PHP Design Patterns Book Cover
Mastering PHP Design Patterns
$ 35.99
$ 10.00
Buy 2 for $20.00
Save $42.98
Add to Cart

Book Details

ISBN 139781783283439
Paperback314 pages

Book Description

The ability to write unit tests and software testing have become skills that every PHP developer should master.

This book is a practical guide to PHPUnit and unit testing, covering all aspects of writing PHPUnit tests and using them. The book shows why testable code is better code and how to write good tests with the help of simple and easy-to-understand examples.

With this book, you will learn how to write, organize, and execute effective tests. Step-by-step techniques of how to write testable code, how to refactor the code, and how to run your tests are shown. You will also learn about advanced testing techniques, including how to test databases, APIs, and legacy code. PHPUnit Essentials is a guide for PHP developers who want to learn or improve their software testing skills. It is a book for developers who begin with testing but is also a good source of information for developers who are already familiar with PHPUnit.

Table of Contents

Chapter 2: PHPUnit Support in IDEs
Chapter 5: Running Tests from the Command Line
Chapter 14: PHPUnit Alternatives, Extensions, Relatives, and BDD

What You Will Learn

  • How to install PHPUnit and confi gure IDEs for PHPUnit support
  • What are unit tests and why to test code
  • Write test doubles and learn how to replace dependencies
  • Explore how to test legacy code
  • Test code calling APIs and connecting to the database
  • Run functional tests in a web browser using Selenium tests
  • Use tests as part of the continuous integration process
  • Discover the alternatives to PHPUnit
  • Use PHPUnit tests in the Jenkins and Travis CI servers

Authors

Table of Contents

Chapter 2: PHPUnit Support in IDEs
Chapter 5: Running Tests from the Command Line
Chapter 14: PHPUnit Alternatives, Extensions, Relatives, and BDD

Book Details

ISBN 139781783283439
Paperback314 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering PHP Design Patterns Book Cover
Mastering PHP Design Patterns
$ 35.99
$ 10.00
Building RESTful Web Services with PHP 7 Book Cover
Building RESTful Web Services with PHP 7
$ 35.99
$ 10.00
Learning Continuous Integration with Jenkins - Second Edition Book Cover
Learning Continuous Integration with Jenkins - Second Edition
$ 35.99
$ 10.00
Yii2 By Example Book Cover
Yii2 By Example
$ 35.99
$ 10.00
Complete Bootstrap: Responsive Web Development with Bootstrap 4 Book Cover
Complete Bootstrap: Responsive Web Development with Bootstrap 4
$ 35.99
$ 10.00
Practical DevOps Book Cover
Practical DevOps
$ 35.99
$ 10.00