Should you change app code for a test?

It depends on why you're changing it

Joel Clermont
Joel Clermont
2024-03-14

When you're writing a test it can be so tempting to just "tweak" some app code to make it easier to write that test.

In the latest episode of the No Compromises podcast, Aaron and I will discuss why that might not be a good idea. We also talk about some app changes while writing tests that are beneficial to the overall project.

Listen Now (12 min)

And after listening, don't forget to subscribe to the podcast, so you don't miss future episodes.

Here to help,

Joel

P.S. Next time you bump into a weird "head scratcher" bug, don't forget about our Get Unstuck calls.

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼

Level up your Laravel skills!

Each 2-minute email has real-world advice you can use.