Application Testing
Introduction
Interacting With Your Application Interacting With Links Interacting With Forms
Testing JSON APIs Verifying Exact Match Verifying Structural Match Sessions / Authentication Disabling Middleware Custom HTTP Requests PHPUnit Assertions
Introduction
Laravel provides a very fluent API for making HTTP requests to your application, examining the output, and even filling out forms. For example, take a look at the test defined below:
<?php
use Illuminate\Found