Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying PhpStorm Cookbook
  • Table Of Contents Toc
PhpStorm Cookbook

PhpStorm Cookbook

By : Chaudhary
1 (2)
close
close
PhpStorm Cookbook

PhpStorm Cookbook

1 (2)
By: Chaudhary

Overview of this book

If you are a competent PHP developer who knows the basics of PHPStorm and intends to gain better knowledge of PHPStorm by learning and implementing pro-level practices, techniques, and solutions, then this book is for you. It is assumed that you already have a working installation of the software setup.
Table of Contents (11 chapters)
close
close
10
Index

Installing PHPUnit

The discussion starts with testing because it precedes debugging in the software development life cycle. PHP provides a unit-testing system, which is known as PHPUnit.

Getting ready

If you use PHPUnit, you gain the freedom to write some code and to check some code. Yes, you read it right. You can use PHPUnit to write some program that will check the input and output of some other program. Interesting phenomenon, right?

When you can write an application (PHP code) using an application (PhpStorm), why not test the application (PHP code) with an application (PHPUnit test cases)? Since PHPUnit is just an application written in PHP, it is available in the form of a PHP Archive (PHAR). It is just a method to ship your files and folders as a whole and to make it ready to be executed.

Note

Please make sure that you have PHP interpreter installed before installing PHPUnit.

How to do it...

You can install it very easily by just downloading the PHPUnit archive (the phar file) and setting...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
PhpStorm Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon