neighbourhoodie / adonis-kafka-v6

MIT License
10 stars 0 forks source link

Add faking system to make testing easier #26

Open ThisIsMissEm opened 5 months ago

ThisIsMissEm commented 5 months ago

Inspired by https://github.com/RomainLanz/adonis-bull-queue/issues/20

A faking system would allow for some form of semi-synchronous assertion testing, e.g., a mock producer / mock consumer, where messages can be captured and injected into the code.