Mockito: Mocking, Stubbing, and Verifying
Executive Summary: Mockito lets you replace a class’s dependencies with mocks, stub their responses, and verify the calls…
Category
Backend development is the server-side work behind an application: APIs, business logic, databases, queues and background jobs. Backend engineers pick languages such as Java, Python, Node.js or C#, decide how data is stored and how services talk to each other, and keep it all fast and correct under load. Most of the hard calls are trade-offs, such as SQL against NoSQL or a monolith against microservices.
177 articles
Executive Summary: Mockito lets you replace a class’s dependencies with mocks, stub their responses, and verify the calls…
Executive Summary: A JUnit 5 test is a method annotated @Test that passes when its assertions hold. I…
Java latency playbook: allocation and I/O techniques, pooling, async-profiler and JMH guidance, with before/after discipline.
Eleven practices that keep an LLM feature alive in production, ranked by impact, each with a wrong example,…
Executive Summary: Java performance tuning works best as a loop: reproduce under steady state, set a baseline, profile,…
Separate deterministic tests from evals, build a golden dataset, score with code before judges, and read pass rates…
Expose your own tools and data to AI assistants through the Model Context Protocol: a complete Python server,…
Executive Summary: Java garbage collection reclaims objects no GC root can reach and organizes the heap by age…
Executive Summary: When java Main runs, class loaders load your code, the JVM stores data in distinct memory…
Constructor injection, circular dependencies, and advanced Spring Boot DI scenarios with concrete code patterns.
Executive Summary: This practice project builds a concurrent link checker in Java two ways: a fixed thread pool…
Turn model replies into validated Python objects: one Pydantic schema, schema-constrained generation where available, and a repair loop…
Executive Summary: Structured concurrency ties subtasks to the scope that started them, so failures and cancellations do not…
Python 3.13 ships an optional build without the GIL and an experimental JIT. Learn what each one does…