Grokking the Modern Frontend System Design Interview
Vote

0% completed

​

Testing a Frontend System

Suppose Basket has 30 end-to-end tests, and each one fails for no real reason in 1 run out of 100, because of timing. The chance that all 30 pass in one run is 0.99 multiplied by itself 30 times, which is about 0.74.

So about 26 runs in every 100 fail when nothing is broken. After a few weeks of this, engineers stop reading the failures and press "re-run", and the day a real bug fails a test, it is re-run too.

A test suite is a system with its own design. It decides what each kind of test checks, what it fakes, how long it takes, and how often it fails for no reason

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content