Mar 4 · 5 min read · Jest has been the default JavaScript test runner for years. But it was designed for CommonJS and requires significant configuration to handle modern ESM, TypeScript, and Vite projects. Vitest was built from the start for the modern JavaScript ecosyst...
Join discussionMar 3 · 4 min read · 📡 The Real-Time Dilemma In order tracking systems, data freshness is everything. However, not every real-time scenario requires the full-duplex complexity of WebSockets or the heavy abstraction layer
Join discussion
Feb 12 · 10 min read · Unit Testing Strategy: Balancing Coverage and Quality in Modern Development Engineering teams waste millions of dollars annually maintaining test suites that provide false confidence. A 95% code coverage metric looks impressive in dashboards, but whe...
Join discussionFeb 10 · 15 min read · Testing is one of those things that every developer knows they should do, but many put off until problems start appearing in production. If you’re building React applications with Vite, there's a testing framework that fits so naturally into your wor...
Join discussion
Jan 30 · 3 min read · The Challenge Recently at work, I implemented a global exception filter using ASP.NET MVC (System.Web.Mvc) that implements IExceptionFilter to capture and handle any uncaught exceptions. I'm a big fan of this approach for APIs because it allows excep...
Join discussion
Jan 27 · 1 min read · If you’re learning .NET, here’s a roadmap that actually leads to real skills. What we built A Todo API with: REST endpoints (GET/POST/PUT/DELETE) Middleware (logging + global errors) Dependency Injection Swagger EF Core + SQLite persistence Int...
Join discussionJan 27 · 2 min read · Writing code is fun. Keeping it working is what gets you hired. In this post we’ll add integration tests that spin up your API in memory and make real HTTP calls to it. Step 1 — Make Program visible to tests At the bottom of your Program.cs, add thi...
Join discussionJan 24 · 5 min read · I used to think unit tests were one of those “nice in theory” things. Like flossing, or reading documentation before coding. Then I wrote a unit test in Bibby and it immediately caught a real bug — the kind of bug that would’ve quietly lived in produ...
Join discussion
Jan 20 · 6 min read · Test levels are groups of test activities that are organised and managed together. Each test level is an instance of the test process, performed in relation to software at a given phase of development, from individual components to complete systems o...
Join discussion