2009/8/16 Marcus Denker <denker@acm.org>:
On 13.08.2009, at 16:26, Adrian Lienhard wrote:
update #10414 ----------------- 310+311: Reorganize unit tests in a more modular way such that they can be unloaded
Now all unit tests are in the packages "Tests", "CollectionsTests", "KernelTests", "MorphicTests", etc. The key point of this reorganization is to make these packages really modular, i.e., they can be unloaded without leaving obsolete classes behind. I also made sure that SUnit with its GUI is unloadable.
If you execute in a Pharo-core image:
ScriptLoader new cleanUpForProduction; cleanUpForRelease
you get an image without tests and SUnit that is 8.0 MB on disk.
And after deleting the ScriptLoader class, it's only 6.9 MB.
Very good!
    Marcus
-- Marcus Denker - http://marcusdenker.de PLEIAD Lab - Computer Science Department (DCC) - University of Chile
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.