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: Web testing is killing us - best practice?

2 pointsby yetiabout 16 years ago
Hi, we're a startup with a fast evolving web game and are releasing new feature updates every 2 weeks.<p>Right now it takes us a solid 2-3 days for 2 people to test through the site with all existing and new features... testing isn't hard, it just takes ages and reduces time we can do other stuff.<p>Question - what should we do?<p>Suck it up and keep doing it this way? Outsource the testing? Motivate some of our hardcore users to test for us? Try to build some automated test bed?

3 comments

lucumoabout 16 years ago
Do you really need to be that thorough in your testing? What are the costs when a bug gets into production and needs fixing? What are the costs of testing and fixing it before it goes into production? Balance it.<p>We're only doing developer ad hoc testing. We just click through a few things when we develop a feature (something you're doing anyway, I assume) and then put in production. We don't do exhaustive testing. If an edge case doesn't work and it gets reported, we'll fix it then. This has the added advantage of only working on problems customers really consider problems.<p>This works because a web application can be pushed online very quickly, so you can make many iterations and fixing a bug isn't inherently harder when it's in production or in development.<p>This is a huge YMMV-topic, where you should really think of both sides of the equation. Something that doesn't happen too often in Internet-articles, I'm afraid.
评论 #618843 未加载
mtrichardsonabout 16 years ago
Definitely an automated test bed, ideally runnable by just one command and by every developer, and then again by Buildbot when you check in code (we pushed a lot of our Selenium tests onto just Buildbot since we didn't have a lot of js and they took much longer than anything else to run).<p>If you don't need a lot of javascript testing, look at Twill - <a href="http://twill.idyll.org/" rel="nofollow">http://twill.idyll.org/</a> . Nice and simple (and very fast).<p>Otherwise, <a href="http://www.getwindmill.com/" rel="nofollow">http://www.getwindmill.com/</a> and <a href="http://seleniumhq.org/" rel="nofollow">http://seleniumhq.org/</a> .
nostrademonsabout 16 years ago
Pull as much code as you can into self-contained, testable libraries that don't interact with the outside world except through defined APIs, then test the hell out of them with xUnit.<p>For everything else, there's Selenium.