Laravel TestTools is a Google Chrome browser extension by Marcel Pociot that enables you to generate Laravel integration tests while using your application. Now you can use the extension to create Dusk test cases!
Marcel shared a live example of creating a Dusk test case from the browser on Twitter yesterday:
I just published version 0.3.0 of my @laravelphp Testtools Chrome extension. A long requested feature is now available: Dusk support ????
— Marcel Pociot (@marcelpociot) June 27, 2018
Laravel TestTools started as a tool to create integration tests for Laravel’s built-in HTTP testing tools. With the added ability to generate Dusk tests, now you can build both HTTP tests and browser tests that run with Dusk.
Building a test case in this manner is incredibly intuitive, and it might even be an excellent way to learn how to use the Dusk testing API if you’re new to using Dusk.
You can access this extension from the Google Chrome Web Store.
You can check out the source code of the extension on GitHub to learn more about the internals of the extension and to contribute to Laravel Test Tools.
We originally wrote about the initial release of Laravel TestTools back in 2016. It’s nice to see new features going into this extension that are useful for writing better tests. Bravo Marcel!
We’ve also written a book about Building a Chatbot with Laravel and Botman at Laravel News; you should check it out if you’re interested in building chatbots!Filed in: News / Chrome / Testing
- Backend Software Engineer (PHP Developer)
Austin TX, Bonita Springs FL
Certified eSupport Corp
- Laravel Developer
Glendale, CA (COVID Remote)
- Senior PHP Engineer
Remote, USA Only
- Full-Stack Engineer (Mid to Senior)
Remote (EST, CST)
- Senior Laravel Developer (AI Applications)
Remote from anywhere in the UK or from our London office
Join 31,000+ others and never miss out on new tips, tutorials, and more.
Eventy: WordPress-like Actions and Filters for Laravel
Eventy is a Laravel package by Tor Morten Jensen that brings WordPress-style actions and filters to your Laravel app.…
GitHub Tips and Tricks
I’ve compiled a list of my favorite GitHub tips and tricks that I use in my workflow daily. You might be famili…