[Twg] stand alone testing
Bruce Korb
bruce_korb at xyratex.com
Tue May 15 18:39:46 UTC 2012
Hi Chris,
On 5/15/12 10:02 AM, Chris wrote:
>> This does not prevent any of these phases from being in a library
>> for use by any test, but it would mean that a given test cannot
>> presuppose that some other test had been run before it.
>One problem with this approach and looking at the history of the current
>bash code is that it will lead to duplication via copy and paste because
>people won't write libraries, bash does not lend itself to this and so
>solutions will be messy.
Bash *does* lend itself to libraries, but it is not a well understood
technique. Shell scripts, by and large, do tend to be messy, but that
is really much more a matter of education and technique than it is
of inherent capabilities.
Due to scripting misuse, using another tool less prone to messy source
seems like a reasonable approach. But the issue is not that of
inadequacies
of bash.
More information about the Twg
mailing list