after running rtest16, how to kill f?



On 2012-09-25, Volker van Nek <volkervannek at gmail.com> wrote:

> I would like to propose, that every test file should kill or clear all
> variables it uses. A test should not affect the top level.

Hmm, I wonder if the testing mechanism should try to clean up after each
test? Or if there should be a way to create a clean environment, mess it
up, and then destroy it. The easy way would be to fork, process stuff in
the child process, then exit the child process.

I'm not sure if tests should clean up after themselves -- if kill(all);
reset(); doesn't restore Maxima to a known state, then it seems like
there is some deficiency in them ... Also I find it useful to inspect
variables, etc., after running a test script. I guess I don't have a
really strong opinion either way.

best,

Robert Dodier