"Environment tests"
Stephan B. Wessels
swessels at cox.net
Fri Nov 7 13:03:43 UTC 2003
On Friday, November 7, 2003, at 04:14 AM, Andreas Raab wrote:
> This is why I am interested in
> modelling the environment a little more explicitily, e.g., one could
> rightfully argue that even unit tests should contain a decent amount of
> tests about assumptions in the environment.
Absolutely.
Even the most simple tests make assumptions about the universe they
operate upon and need to validate they can proceed. For example, a
simple test that reads a log file for contents must check the file path
and that the file exists as a preamble to real work.
- Steve
More information about the Squeak-dev
mailing list
|