3 ms·
"The test suite needs to be fast. It needs to have decent coverage, but doesn't necessarily have to be perfect." Holy hell, what a telling statement that is. I
by mark242 11y ago
"The test suite needs to be fast. It needs to have decent coverage, but doesn't necessarily have to be perfect."
Holy hell, what a telling statement that is. I get not unit testing for 1 == 1, but come on, unit and integration tests for, say, user login should be difficult, not fast. There are some test suites that actually do need to be perfect, unless Instagram thinks that eg OWASP isn't "decent coverage".
- 467568985476 11y agoThe probably use an existing, well tested tool for user authentication (why reinvent the wheel?), or have comprehensive coverage for it already. There's no reason for tests for logging in to be slow either way. And after all, it's a social media app, it doesn't have to run perfectly all the time.