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!
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Laravel + Vue.JS developer
Remote or in Toronto Canada
Star Dot Hosting Inc
- Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
- Senior Quality Assurance Engineer
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- Senior Software Engineer
Remote or San Francisco
- Laravel Developer
Las Vegas, NV
- R&D Developer
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…