Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afleishaker/weaver-cats-retry

A proof-of-concept enriching weaver-test's flexibility using a cats-effect-adjacent library, cats-retry. 🕷️🐱⌛
https://github.com/afleishaker/weaver-cats-retry

cats-effect retry scala testing weaver-test

Last synced: 25 days ago
JSON representation

A proof-of-concept enriching weaver-test's flexibility using a cats-effect-adjacent library, cats-retry. 🕷️🐱⌛

Awesome Lists containing this project

README

        

# :spider::cat::hourglass: weaver-cats-retry

_A proof-of-concept enriching [weaver-test](https://typelevel.org/weaver-test/)'s flexibility using a [cats-effect](https://typelevel.org/cats-effect/)-adjacent library, [cats-retry](https://github.com/cb372/cats-retry)._

### Usage
1. Implement your own suite or use the included `RandomSuite` extending the added `RetryingIOSuite` to make it retry!
2. Override or use the default `RetryPolicy` passed into `RetryingIOSuite` to manage the timing, backoff, and thresholds of the retrying.
3. Test this new functionality with: `sbt test`