Hi Mariano,
Nice to see you working on this (sorry, I still didn't get around to do the cleanUp: refactoring (if you like to do this, please go ahead)).
Regarding your extension of #unloadTestPackages I have the following remark: when I implemented this I took care to make all remaining packages non-dirty. For example, you unload "Regex-Tests-Core" and this will change the contents of the "Regex" package and hence make it dirty. To avoid this, I moved tests into their own package – either into their own package like in the case of GraphicsResources (see related comment on the issue tracker) or into the global test package "Tests".
Apparently somebody didn't take care when updating VB-Regex because the tests are back in the main Regex package.
Now, I don't know whether "clean packages" after shrinking is a desired property. It's not critical for me but it feels better to have a well modularized image without needing to unload random sub-packages, classes and methods.
Cheers,
Adrian
On Jan 5, 2011, at 23:08 ,
[hidden email] wrote:
> Updates:
> Status: Fixed
>
> Comment #1 on issue 3507 by marianopeck: SUnitUnloader >> unloadTestPackages is wrong and outdated
>
http://code.google.com/p/pharo/issues/detail?id=3507>
> (No comment was entered for this change.)
>
>