Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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. 🕷️🐱⌛
- Host: GitHub
- URL: https://github.com/afleishaker/weaver-cats-retry
- Owner: afleishaker
- Created: 2024-06-21T02:04:17.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-21T02:06:14.000Z (5 months ago)
- Last Synced: 2024-10-01T15:59:19.357Z (about 1 month ago)
- Topics: cats-effect, retry, scala, testing, weaver-test
- Language: Scala
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`