Artwork

Content provided by Joel Clermont and Aaron Saray. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Joel Clermont and Aaron Saray or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Should you change application code to support a test?

11:32
 
Share
 

Manage episode 404721458 series 2974897
Content provided by Joel Clermont and Aaron Saray. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Joel Clermont and Aaron Saray or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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, but we 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.

  • (00:00) - Sometimes changing code makes testing easier
  • (01:30) - Different types of code changes
  • (02:45) - An example with Laravel jobs
  • (04:30) - A time when it's okay to change code while testing
  • (08:50) - Avoid problems by writing tests earlier
  • (09:30) - Silly bit

Don't "compromise" on testing. See how we can help level up your Laravel project.
  continue reading

108 episodes

Artwork
iconShare
 
Manage episode 404721458 series 2974897
Content provided by Joel Clermont and Aaron Saray. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Joel Clermont and Aaron Saray or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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, but we 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.

  • (00:00) - Sometimes changing code makes testing easier
  • (01:30) - Different types of code changes
  • (02:45) - An example with Laravel jobs
  • (04:30) - A time when it's okay to change code while testing
  • (08:50) - Avoid problems by writing tests earlier
  • (09:30) - Silly bit

Don't "compromise" on testing. See how we can help level up your Laravel project.
  continue reading

108 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide