What's Changed
- New functionality Retry test
// RetryPolitic is a scope of methods to configure test repeat
type RetryPolitic interface {
// Retry is a function for configure test repeat
// if response.Code != Expect.Code or any of asserts are failed/broken than test will repeat counts with delay.
// Default delay is 1 second.
Retry(count int) MiddlewareRequest
// RetryDelay set delay for test repeat.
// if response.Code != Expect.Code or any of asserts are failed/broken than test will repeat counts with delay.
// Default delay is 1 second.
RetryDelay(timeout time.Duration) MiddlewareRequest
}
- Rename functions RequestRepeat to RequestRetry
- Fix broken tests
- [Issue 75] Readme upd by @kkatryunix in #76
- Release/v0.1.22 by @siller174 in #84
New Contributors
- @kkatryunix made their first contribution in #76
Full Changelog: v0.1.21...v0.1.22