paint-brush
Tester Stories: How I Encountered and Fixed Flaky Testsby@aveuiller
159 reads

Tester Stories: How I Encountered and Fixed Flaky Tests

by Antoine Veuiller8mJuly 16th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

It can happen that the result of a unit test changes over multiple executions of a test suite without any change in the code. Such a test is named a flaky test. It is not dangerous per se but reduces the confidence a developer can give to his test suite, diminishing the benefits of the latter. In a project where continuous integration was broken during the 5 first days of each month, it led to the tests being faulty at the beginning of the month. One way of fixing such issues would be to sandbox the execution of the tests to control the current date.

Company Mentioned

Mention Thumbnail
featured image - Tester Stories:  How I Encountered and Fixed Flaky Tests
Antoine Veuiller HackerNoon profile picture
Antoine Veuiller

Antoine Veuiller

@aveuiller

Software engineer focused on Backend and DevOps.

About @aveuiller
LEARN MORE ABOUT @AVEUILLER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Antoine Veuiller HackerNoon profile picture
Antoine Veuiller@aveuiller
Software engineer focused on Backend and DevOps.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Buzzsumo
Trendingintesting
Cyberfishnews
Coffee-web
Softwaretestingnotes
Substack
Leftic
Cyberfishnews
Usadaily