onsi / ginkgo

A Modern Testing Framework for Go
http://onsi.github.io/ginkgo/
MIT License
8.22k stars 650 forks source link

feat: allow MustPassRepeatedly decorator to be set at suite level #1266

Closed maxcleme closed 1 year ago

maxcleme commented 1 year ago

Relates to https://github.com/onsi/ginkgo/issues/1265

Aims to allow MustPassRepeatedly to be set at suite level programatically, similarly of FlakeAttempts.

maxcleme commented 1 year ago

Regarding the test, I'm not sure which way I should go

@onsi any thoughts? 😁

onsi commented 1 year ago

i’ll try to take a closer look today but to unblock you:

maxcleme commented 1 year ago

@onsi I've added some tests, let me know what you think!

onsi commented 1 year ago

i just cut a release with this in it, thanks!