Sitepoint have interesting introduction to the latest Laravel 5.4 testing library : Dusk. Dusk is meant for end to end browser testing of modern JavaScript applications, and you will see in this article how you can test Ajax based applications. Overall, the article covered the configuration options necessary to get started, and the examples provided should help you fill in the gaps and give an overview of some of the other configuration options available.

With the release of Dusk, Laravel hopes to give its users a common API for browser testing. It ships with the default ChromeDriver, and if we need support for other browsers, we can use Selenium. It will still have this common testing API to cater to our needs.

LEAVE A REPLY

Please enter your comment!
Please enter your name here