Back Button Techniques
Pull Up a Seat: Season 1

Pull Up a Seat: Season 1

Real-life programming isn't always glamorous. You're not always launching fancy new interactive features backed by weeks of marketing and hype. In fact, that's rarely the case. Instead, much of the time, we work on boring fixes and general maintenance of packages and tools that, frankly, not many people use. This is the reality.

In that spirit, for season one of our new "Pull Up a Seat" series, come along as I work on extending the API for my laracasts/cypress package. We'll cover everything from the initial tinkering, all the way up to tagging a new release.

Intermediate
7 episodes
51m
7
Latest Episode in This Series

Added 4 months ago

Tag the New Release

We're ready to deploy this new feature! To wrap up this series, let's use the GitHub...

Watch
Pull Up a Seat: Season 1

Pull Up a Seat: Season 1

Real-life programming isn't always glamorous. You're not always launching fancy new interactive features backed by weeks of marketing and hype. In fact, that's rarely the case. Instead, much of the time, we work on boring fixes and general maintenance of packages and tools that, frankly, not many people use. This is the reality.

In that spirit, for season one of our new "Pull Up a Seat" series, come along as I work on extending the API for my laracasts/cypress package. We'll cover everything from the initial tinkering, all the way up to tagging a new release.

Begin
7
Latest Episode in This Series

Added 4 months ago

Tag the New Release

We're ready to deploy this new feature! To wrap up this series, let's use the GitHub UI...
Watch

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.
    1. Free Episode Run Time 6:22

      Before we get started tinkering, let's discuss the basic game plan for this mini-series. As part of this discussion, we'll set up a fresh Laravel project and pull in both Cypress and my Laravel integration package.

    2. Free Episode Run Time 6:14

      I'm not yet ready to work on the actual package source code. For now, within a demo application, let's spike out the API that I want to offer. Think of this spiking as a way to tinker around, all while knowing that everything we write will be thrown in the trash.

    3. Now that we've exposed an API endpoint that returns a list of all named routes for our Laravel app, the next step is to create a new Cypress command that makes a request to this endpoint.

    4. Run Time 14:32

      In this lesson, we'll override the Cypress visit command to allow for optionally passing a route name to it. We'll use a technique jokingly referred to as "duck punching" to allow for this.

    5. Now that we fully understand what's required, let's switch over to the laracasts/cypress package, itself, and begin implementing the new feature.

    6. When making changes to a Composer package, it's always important to manually test your changes locally before tagging a new release. In this episode, I'll show you how to instruct Composer to install a package that is local to your machine.

    7. We're ready to deploy this new feature! To wrap up this series, let's use the GitHub UI to tag a new release. Once we do this, it will quickly be reflected on the Packagist page for the package.