test


Quick start: integrate PHPUnit to write test cases

brief introduction Larravel is rooted in testing. In fact, the built-in PHPUnit supports testing out of the box, and the phpunit.xml file has

Published by Xueyuan Jun 6 years ago    Number of views: 19911    Number of likes: 4

HTTP test: how to test HTTP requests and responses

brief introduction Laravel provides streaming APIs for generating HTTP requests and testing output. For example, the test example provided by Laravel: &l...

Published by Xueyuan Jun 6 years ago    Views: 15452    Number of likes: 2

Browser test: use Laravel Dusk for browser test

brief introduction Laravel Dusk provides an elegant, easy-to-use browser automated testing API. By default, Dusk does not force you to install JDK on the machine

Published by Xueyuan Jun 6 years ago    Views: 19295    Number of likes: 0

Database testing: model factory generation and use

brief introduction Laravel provides several useful tools to make testing database driven applications easier. First, you can use the auxiliary function assertDatabas

Published by Xueyuan Jun 6 years ago    Views: 17966    Number of likes: 2

Simulation: Simplify testing by forging events, mails, notifications, queues, file storage and other services

brief introduction When testing a Larravel application, you may also want to "simulate" the specific state of the application so that they are not actually executed in the test. For example, test the

Published by Xueyuan Jun 6 years ago    Number of views: 12035    Number of likes: 1

search result