Testing Only In Production Using Algebraic Properties
summary
Proposes running integration tests directly against an immutable event store (Kafka/Kinesis/Azure Event Grid) by deploying pure-function handlers and tagging certain stream writes as commands as identity elements so they leave state unchanged; test asserts are performed on specific input/output events on the stream. Uses Redux-style client state, F# for strong types, AWS Step Functions / serverless platforms for deployment. Idea is demonstrated as a prototype conceptually, not yet measured at production scale.
AI-written summary · about
