L
A
R
A
V
E
L
TESTING
MARABESI
http://ieeexplore.ieee.org/abstract/document/1702179/
1987
WE CARE
ABOUT QUALITY
THE INDUSTRY
EVOLVES, SO DOES
LARAVEL TESTING
ECOSYSTEM
LARAVEL <= 5.3
tests
|_ ExampleTest.php
|_ TestCase.php
LARAVEL <= 5.3
tests
|_ ExampleTest.php
|_ TestCase.php
LARAVEL <= 5.3
tests
|_ ExampleTest.php
|_ TestCase.php
tests
|_ Feature
|_ ExampleTest.php
|_Unit
|_ ExampleTest.php
|_ TestCase.php
CreateApplication.php
LARAVEL >= 5.4
tests
|_ Feature
|_ ExampleTest.php
|_Unit
|_ ExampleTest.php
|_ TestCase.php
CreateApplication.php
LARAVEL >= 5.4
tests
|_ Feature
|_ ExampleTest.php
|_Unit
|_ ExampleTest.php
|_ TestCase.php
CreateApplication.php
LARAVEL >= 5.4
tests
|_ Feature
|_ ExampleTest.php
|_Unit
|_ ExampleTest.php
|_ TestCase.php
CreateApplication.php
LARAVEL >= 5.4
ARTISAN++
https://laravel.com/docs/testing
DOCUMENTATION++
5.3
5.4 +
LARAVEL
DUSK
https://laravel.com/docs/dusk
Laravel Dusk provides an expressive, easy-to-use browser
automation and testing API. By default, Dusk does not require
you to install JDK or Selenium on your machine.
Instead, Dusk uses a standalone ChromeDriver
installation. However, you are free to utilize any other
Selenium compatible driver you wish.
“
”
Don’t force yourself to test-first
every controller, model, and
view (my ratio is typically 20%
test-first, 80% test-after).
Excerpt From: JeffreyWay. “Laravel Testing Decoded.”
“
”
MARABESI

Testing with Laravel - 7Masters 2018 (Laravel)