API Reference faux_redis v#1.0.3

Copy Markdown View Source

Modules

Public API for starting and controlling dummy Redis servers for integration tests.

OTP application entry point for :faux_redis.

ExUnit case template that spins up an isolated FauxRedis server per test.

Representation of a single Redis command invocation.

Per-client connection process.

Redis-style glob pattern matching used by KEYS and SCAN ... MATCH.

Evaluation engine for mock and expectation rules.

Definition of a single mock or expectation rule.

Minimal RESP2 encoder/decoder used by FauxRedis.

OTP process that owns the TCP listener, manages connection processes, holds the in-memory store and mock rules, and implements Redis command semantics.

In-memory, process-local data store that approximates a subset of Redis semantics sufficient for most integration tests.