Automated testing

24 posts
Stop managing your releases before you start managing your releases

Stop managing your releases before you start managing your releases

It’s Friday afternoon. Do you deploy to production? A lot of teams are afraid to push their code to production before the weekend because something might go wrong that may impact their well-earned weekend. Today, I don’t want to dive too deep into how we can create enough...

Using MySQL for Testing (on Laravel)

Using MySQL for Testing (on Laravel)

We have a really good testing culture at madewithlove and, in one of the projects I am working on, we have a decent suite of tests. A big chunk of these tests are Feature Tests. In this article, I’ll describe the process of switching a project’s test suite...

Refactoring towards testability

Refactoring towards testability

When working on a legacy codebase, you often have to make changes in code you don’t fully understand. When this code is not tested, you’re never sure that it will still work after adapting it. And will it have unexpected effects on other parts of the codebase? As...

Commands, events, global functions and testing

Commands, events, global functions and testing

The other day I was listening to the FullStackRadio episode 34 which is about dealing with dependencies in Active Record models. This is a very interesting topic and they suggest a few solutions for it. I liked the suggestions and I tried to implement it differently (first try and second...

Updated htaccess tester: referrer support

Updated htaccess tester: referrer support

We just updated our htaccess tester to support the HTTP_REFERER variable in your rewrite rules. To do so we simply added a new field underneath the field for the htaccess. You can type any URL in this field, which will be used in the script as the HTTP_REFERER...

Simple htaccess tester

Simple htaccess tester

Last Wednesday we were struggling with some complex rewrite rules. To test them we had to set up a local server and keep hitting that refresh button after each change. The only thing we could see is if the URL was rewritten to the right location or not, but there...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.