Now that you understand the basics of the API, let's switch over to Laravel usage. I think you'll love the simplicity of it!
Update: You now must extend the
Laracasts\Integrated\Extensions\Laravel class from your
If we're using tools like TestDummy to populate our database tables with records for our tests, then we need a way to clean things up after each test completes. This is where database transactions come into play. Luckily, this is an easy one. Import a trait from the Integrated package, and you're done!
In this video, we'll review some example workflow, when using Integrated with the Laravel extension. You'll also learn about how to create your own custom methods that work alongside this package.
When you use the Selenium extension for Integrated, the API is identical (plus some browser-specific actions). This means, you can automate the browser with minimal effort.
Need to test your own JSON APIs? No problem. I'll show you how to tackle that with the Integrated package.