SDShayan Danishintestingsoftware.hashnode.dev·Jun 11, 2025 · 2 min readbeforeAll, beforeEach, afterAll, afterEach — What Goes Where and Why It Matters in TestingWhen writing tests in Jest, Mocha, or any modern test runner, you’ve probably used these lifecycle hooks: beforeAll() beforeEach() afterAll() afterEach() But what happens when you place them outside vs inside a describe() block?Let’s break it d...00
SDShayan Danishintestingsoftware.hashnode.dev·Jun 10, 2025 · 1 min readUnit Testing vs Integration TestingIf you're building serious software, you need tests. But not all tests are the same. \> Unit TestsTest small, isolated pieces (usually functions).Fast to run. Easy to debug.Good for catching logical errors early. \> Integration TestsTest how differen...00
SDShayan Danishincachingforscaling.hashnode.dev·Jun 6, 2025 · 3 min readServer-Side Caching: Supercharge Your App's PerformanceWhen it comes to building fast, scalable web applications, caching is your best friend. And among various caching strategies, server-side caching stands out as one of the most effective ways to reduce response time and boost performance. In this post...00
SDShayan Danishinaiagentsworld.hashnode.dev·Apr 14, 2025 · 2 min readZomato x A2A: The Google Way of Agent Talk🧠 Why Even Tech Giants Feel FOMO (And Why Agents Are the Future) You know what's common in startups, developers, and even tech giants?FOMO. Fear of missing out on the next big thing. And right now, that "big thing" is AI agents. Ever since Anthropic...00
SDShayan Danishinaiagentsworld.hashnode.dev·Mar 28, 2025 · 6 min readForget Claude Desktop: Build Your Own Custom AI Agent with MCP Client + ServerThis is a simplified implementation of the official ModelContextProtocol SDK, aimed at helping developers quickly understand how LLM agents (like Claude) can reason, invoke tools, and interpret the results — step by step. Unlike most tutorials that r...00