Unit test your Laravel controller using PHP-tt, part 2

Опубликовано: 21 Октябрь 2024
на канале: Between Jobs
31
0

This video is part #1 of the series about the PHP-tt library & Laravel. PHP-tt allows you to write unit tests in the doc block of your method saving you lots of time & effort. This tutorial demonstrates how to unit test a Laravel controller. Topics in this tutorial: mocks, aliases, unit testing

PHP-tt: https://php-tt.com
Controller code snippet: https://snipit.io/public/snippets/86167

#unittests #webprogramming #testing #laravel #php