[rkward-devel] rkwardtests package: done :-)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Oct 7 20:25:39 UTC 2010


Hi,

On Thursday 07 October 2010, Thomas Friedrichsmeier wrote:
> You might consider assigning explicitly to globalenv() (as is done with
> "date()"), and then allowing to remove them with rktest.resetEnvironment,
> as before. The idea was to provide a convenient way to restore a mostly
> normal environment while developing the tests. Of course then
> rktest.resetEnvironment() should also be exported.

to be precise:
Contrary to what I had thought, these overrides were not being assigned to 
globalenv() before, either. It's easy to get confused by the "<<-" operator. 
In fact, I'm not even sure, whether having them in globalenv() would be good 
enough.

Thus, also, rktest.resetEnvironment() was already broken, before. Not sure, 
whether it ever worked the way it was meant to.

Still, it would be good (but not a high priority), if 
rktest.resetEnvironment() could be used to restore a "normal" environment 
after rktest.initializeEnvironment().

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20101007/60e6fe85/attachment.sig>


More information about the Rkward-devel mailing list