mardi 29 janvier 2019

Golang: Retrying a test

As we all know, Golang comes with a builtin testing package. My team uses the testing package for unit tests as well as integration tests, which can fail due to downstream dependency errors.

For these flaky integration tests, we want to try using test retries. Is there an idiomatic way to retry a Golang test?

Aucun commentaire:

Enregistrer un commentaire