My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Flaky Tests: Are You Sure You Want to Rerun Them? - Semaphore

Flaky Tests: Are You Sure You Want to Rerun Them? - Semaphore

Milica Maksimović's photo
Milica Maksimović
·Apr 20, 2017

Keeping flaky tests and brute-forcing them to pass defeats the purpose of testing. There is an unspoken assumption that something is wrong with the tests, and that it's fine to just rerun them. This assumption is dangerous. Who's to say that the race or the time-out that causes the flakiness is in the test, and not in the production code?