TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Do you write unit/integration tests for both versions of A/B tests?

1 pointsby deepsyover 4 years ago
We're using integration tests to cover 90% of the user flows. Adding integration tests for all a/b test flows and their permutations seems to be an overkill, but we're facing situations in which there are broken things only when the user is in b version of the test X and b version of the test Y. I'm wondering how other smaller companies deal with this?

1 comment

goatcodeover 4 years ago
When we do feature testing, it&#x27;s normally an existing feature against a new one. This implies testing the new code just as if it were exposed to everyone, and the old code is already tested.<p>If you&#x27;re seeing broken things in one execution path, then yes, I&#x27;d say testing would be a good idea.