Automated testing

22 posts
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.