Home / Companies / Keploy / Blog / Post Details
Content Deep Dive

Dependency Mocking And Service Virtualization: Make Every Ci Test Deterministic

Blog post from Keploy

Post Details
Company
Date Published
Author
Sancharini Panda
Word Count
3,433
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Dependency mocking replaces external services such as APIs, databases, and queues with controlled test substitutes, while service virtualization expands this idea with stateful, multi-protocol simulations for larger enterprise environments. The discussion compares spec-driven tools, hand-written stub servers, enterprise virtualization platforms, and traffic-capture tools, noting that manually maintained stubs can drift from real dependency behavior as schemas, data, and service interactions change. It presents traffic capture, particularly Keploy’s eBPF-based approach, as a way to record real runtime interactions across HTTP, gRPC, databases, and message queues and replay them in CI without contacting live dependencies. Tool selection depends on a team’s dependency types, accuracy of available API specifications, need for protocol coverage, tolerance for maintenance and infrastructure complexity, and requirements for fast, deterministic, language-agnostic CI testing.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.