Version 4 of testing

Updated 2001-11-27 17:46:26

In response to a question about testing C and Java from Tcl, Cameron Laird responded eloquently.

  > Are there any good articles or documents
  > containing information about how Tcl should best
  > be used when performing various testing
  > procedures in C and Java? What packages and
  > tools to use? Maybe even some general
  > documentation about functional testing and then
  > why Tcl is particularly good at it?
  > 
  > (Planning to convince some people here that Tcl
  > is a good tool for the job.)

Tcl is the single most successful language for test automationof the kind you're describing. That's so undeniable that I'd forgotten it deserves to be docu- mented for new generations of developers. DejaGnu is the testing framework that's made gcc possible. Companies like Oracle and Sybase have MILLIONS of lines of Tcl testing code on which they rely to assure the operation of their "flagship" products.

Given enough motivation, I could do a whole book on use of Tcl in testing. Tcl tests automobile engines, emergency telephone circuits, chemical sensors, microprocessors, rocket components, industrial ovens, and much, much more. In the absence of any other knowledge, ANY software project should think of Tcl as its first choice for testing.

What more do you need?


[Tcl traditions in testing, and especially Expect. Oracle, Sybase [L1 ], NASA, ...]

tcltest and DejaGnu

[Tcl/Java], Jacks, ...

Jacks is a Java compiler testing framework [L2 ]


Articles:

  • Michael J. Norton's "Network Test Automation ..." [L3 ]
  • Arjen Markus' ...
  • ...
  • [Android, ...]
  • ...