NFIBrokerage / spear

A sharp EventStoreDB v20+ client backed by Mint :yum:
https://hex.pm/packages/spear
Apache License 2.0
85 stars 14 forks source link

add a helper for declaring test compatibility with ESDB version #50

Closed the-mikedavis closed 3 years ago

the-mikedavis commented 3 years ago

as we add newly supported features, we need to write tests that only target that eventstoredb version (or higher version)

this is a little function that looks up a version pattern against the declared eventstoredb version (from the env) and adds a tag that we can use to exclude with mix test --exclude version_incompatible