Variable Script-Based Testing

Slide 8 of 15

Variable Script-Based Testing

The next generation of automated testing tools introduced added variable test data to be used in conjunction with the capture/replay features. The difference between static capture/replay and variable is that in the former case the inputs and outputs are fixed, whereas in the latter the inputs and outputs are variable. This is accomplished by performing the testing manually, and then replacing the captured inputs and expected outputs with variables whose corresponding values are stored in data files external to the script. Variable capture/replay is available from most testing tools that use a script language with variable data capability. Variable capture/replay and extended methodologies reduce the risk of not performing regression testing on existing features and improving the productivity of the testing process.
However, the problem with variable capture/replay tools is that they still require a scripting language that needs to be programmed. However, just as development programming techniques improved, new scripting techniques emerged. The following describes two of these techniques.(from: Software testing and continuous quality improvement - William E. Lewis, Gunasekaran Veerapillai)
- test scripting= programming
- ad-hoc coverage
- no coverage measurement
+ automatic execution
+ auto regression testing
- fragile tests break easily?
(depends on design/abstraction level)
See also COVER overview