Intuitive Integration Testing

The reality is that, sometimes, you don't require a big testing framework to help orchestrate conversations with the business, design your objects, and more. Sometimes, you just want to ensure that the dang thing works like you expect, with as little configuration as possible! In these situations, the Laracasts Integrated package is exactly what you need.

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!