Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My testing
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

Laravel Testing With Fakes: Mail, Queue, Http, Storage and Notifications

Laravel Testing With Fakes: Mail, Queue, Http, Storage and Notifications

Blog Summary

Your test suite shouldn't send real emails, hit a real payment API or fill a real S3 bucket. Laravel's fakes swap all of that out in one line. Here's how each one works, and the gotchas that make tests pass for the wrong reason.

Read more
  • 135
  • 150
  • 10

Load Testing Basics: How to Find Your App's Breaking Point Before Your Users Do

Load Testing Basics: How to Find Your App's Breaking Point Before Your Users Do

Blog Summary

Every app has a breaking point. The only question is whether you find it on a quiet Tuesday or on launch day. A practical guide to load testing: realistic scenarios, a k6 script, the metrics that matter and where bottlenecks hide.

Read more
  • 131
  • 94
  • 10

Me vs the Legacy Codebase: A Week in Five Acts

Me vs the Legacy Codebase: A Week in Five Acts

Blog Summary

Monday: a function called processData2_new_FINAL. Tuesday: the urge to rewrite everything. Wednesday: the code turns out to know things. A funny, familiar week with legacy code, and what actually works: characterization tests and the strangler pattern.

Read more
  • 85
  • 93
  • 20

Laravel Feature Tests That Don't Break Every Week

Laravel Feature Tests That Don't Break Every Week

Blog Summary

You rename a column, nothing changes for users, and fourteen tests go red. Here's how to write Laravel feature tests that check behaviour instead of implementation, using factories, RefreshDatabase, JSON assertions and fakes.

Read more
  • 129
  • 111
  • 8

Laravel's Service Container Explained: Who Calls new on Your Classes?

Laravel's Service Container Explained: Who Calls new on Your Classes?

Blog Summary

You never create your controllers, yet they arrive fully built. Here's how Laravel's service container auto-wires classes, when to use bind, singleton or scoped, and why it makes mocking easy.

Read more
  • 125
  • 143
  • 19

Laravel Events and Listeners: Decoupling Without the Chaos

Laravel Events and Listeners: Decoupling Without the Chaos

Blog Summary

Your controller signs a contract, sends three emails, builds a PDF and creates an invoice. Events and listeners fix that, if you use them well. When to use events vs observers, queued listeners, and Event::fake.

Read more
  • 133
  • 54
  • 19

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close