Nebo15 / sage

A dependency-free tool to run distributed transactions in Elixir, inspired by Sagas pattern.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RFC: Property-inspired test case

AndrewDryga opened this issue · comments

We can write helpers that simplify building a test case that would take a sage and test possible failures in each it's stage, to make sure operations and compensations are all working properly.

This is not needed, Sage implementation is tested and it should be enough for an application developer to test transaction and compensation functions independently.