The Artima Developer Community
Sponsored Link

Java Buzz Forum
When To Write An Automated Test

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sam Newman

Posts: 800
Nickname: padark
Registered: Feb, 2004

Sam Newman is quite lazy
When To Write An Automated Test Posted: Jun 7, 2009 11:53 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Sam Newman.
Original Post: When To Write An Automated Test
Feed Title: magpiebrain
Feed URL: http://feeds.feedburner.com/Magpiebrain
Feed Description: A Java Blog
Latest Java Buzz Posts
Latest Java Buzz Posts by Sam Newman
Latest Posts From magpiebrain

Advertisement

Too many large-scale tests can be a burden. So when asked “Should we write a test for this?”, I would of course respond that “It Depends”. I think it depends on three factors:

  1. How easy is the feature to test?
  2. What is the likelihood of the feature breaking?
  3. What is the impact of the break?

A static link in a webpage is easy to test, but is unlikely to break. If you had contractual arrangements that a ink appears, the impact of a break is severe.

A data centre going down is a pretty serious impact, but not only is it unlikely, but it is hard to write an automated test for it. So here, a manual test is probably a more sensible use of your time.

Read: When To Write An Automated Test

Topic: Google's revolutionary road to place ads in pre-search recommendation: Analysis and assumptions Previous Topic   Next Topic Topic: Kirk Pepperdine at Java.net's Community Corner 2009

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use