[Swan-dev] Single script file for tests

Paul Wouters paul at nohats.ca
Thu Jul 27 17:06:30 UTC 2017


On Thu, 27 Jul 2017, Ondrej Moris wrote:

> Yes, please. It would be even better to have init, run and final
> merged together so that the whole testing procedure can be written
> into a single file. Something like
>
> # cat test.sh
> setup (aka init)
> east# setup something
> east# setup something else
> west# setup something

The problem of this is that you cannot run test manually, by doing:

ssh root at east
cd /testing/pluto/basic-pluto-01
./eastinit.sh

[do manual testing things]

So I would really dislike creating scripts that cannot actually run as
scripts.

Paul


More information about the Swan-dev mailing list