Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Unit testing (PHPUnit, PEST)
Note: In CodinGame puzzles the provided test cases already act as some kind of unit testing, so this chapter is not too relevant for CG. Therefore, only links are provided.
PHPUnit became the de-facto standard for creating and running unit tests for any php project. You can get it from its website. It has a thorough documentation.
PEST is a relatively new testing framework for PHP. It is not replacing, but built on top of PHPUnit. It provides a simpler, more intuitive syntax. You can get it from its website.
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content