4 ms·
My experience with mocking was sad. I had unit tests; they all passed. I had end-to-end tests; they all passed. In production, I had about 1 in 1,000,000 fai
by thyrsus 5y ago
My experience with mocking was sad.
I had unit tests; they all passed.
I had end-to-end tests; they all passed.
In production, I had about 1 in 1,000,000 failures. The most likely culprit was broken TCP connections, in turn most likely due to the enormous network load I was generating, which was only tolerable during rare windows.
I tried mocking Linux TCP socket behavior, but failed to find a formal descriptions of the possible failure behaviors, and had to guess at a lot of things; I ultimately didn't finish before the project was abandoned.