Intermediate

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.

Start Series

Share this series on:

  • 01

    Episode 1 Run Time 11:29

    Introduction and General Usage Free

    To get started, we'll learn how easy it is to setup the Integrated package, and will then move on to basic usage of the package within a fresh raw PHP application.

  • 02

    Episode 2 Run Time 18:19

    Laravel and Integrated Free

    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 tests/TestCase.php file.

  • 03

    Episode 3 Run Time 4:01

    Database Transactions Free

    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!

  • 04

    Episode 4 Run Time 12:15

    Example Workflow and Custom Methods

    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.

  • 05

    Episode 5 Run Time 14:04

    Selenium

    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.

  • 06

    Episode 6 Run Time 10:03

    Testing APIs

    Need to test your own JSON APIs? No problem. I'll show you how to tackle that with the Integrated package.