ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Top 12 Reasons to Write Unit Tests
Subject:   GUI testing
Date:   2003-04-04 04:29:10
From:   anonymous2
Generally I'm a massive fan of unit testing, but in GUI programming this approach tends to break down. Particularly in a SWING rather than a web application.

Simple tests like "I click on the button and the main application launches" are incredibly difficult to test for with a test suite and much more straightforward with a test script.

The problems are manifold; test scripts are open to interpretation, and not always followed exactly. It's easier to write a test script than a unit test, so there is the temptation to do this where a unit test would be practical.

Does anyone have any suggestions for tackling this problem ?

1 to 2 of 2
  1. GUI testing
    2003-04-15 05:44:40  anonymous2 [View]

  2. GUI testing
    2003-04-07 06:42:05  anonymous2 [View]

1 to 2 of 2