Repository for experiments and practice using the PHPUnit testing framework.
Before running the project, make sure you have the following installed:
- PHP (version 8.2 or higher)
- Composer (dependency manager for PHP)
- PHPUnit (PHP testing framework)
You can check if PHP and Composer are installed by running the following commands:
php -v
composer -v
To get this project up and running, follow these steps:
-
Clone this repository:
git clone https://github.com/lucasarakaki/phpunit-lesson.git
-
Install dependencies:
cd phpunit-lesson && composer install
-
Running tests with PHPUnit:
./vendor/bin/phpunit tests/
This will execute the tests, and the results will be displayed in your terminal.
This software is available under the MIT License.