Laravel - HTTP Tests - Debugging Responses

After making a test request to your application, the dump, dumpHeaders, and dumpSession methods may be used to examine and debug the response contents:

    
    get('/');
    
            $response->dumpHeaders();
    
            $response->dumpSession();
    
            $response->dump();
        }
    }
	

Alternatively, you may use the dd, ddHeaders, and ddSession methods to dump information about the response and then stop execution:

    
    get('/');
    
            $response->ddHeaders();
    
            $response->ddSession();
    
            $response->dd();
        }
    }