It would be good that some motivated people check the SUnit improvements and let us know if we should merged that into SUnit or which parts should be part of the core SUnit. Stef On Aug 19, 2008, at 9:09 AM, Damien Cassou wrote:
On Tue, Aug 19, 2008 at 8:49 AM, laurent laffont <laurent.laffont@gmail.com> wrote:
I don't understand how Pharo-dev image is build: assert:equals: is included in Pharo-dev image.
pharo-dev images are like squeak-dev images, they are built using Universe. If you open the Universe browser, switch to the 'by status' view and the 'Installed packages' status, you will see that SUnit-improved is an installed package. Clicking on it reveals:
" Improved SUnit, allows categorization of tests for selective running, per platform, per vm or image version.
Includes: TestReporter a non gui test runner
Category: Development Provides: SUnit-improved
Maintained by: kph Downloads from: http://www.squeaksource.com/Testing/SUnit-kph.108.mcz "
I haven't found in Monticello how to find which package define a method.
In a code browser, if a method belongs to a package different that the one from the class, its category has the information. For example, the method String>>applyLanguageInfomation: belongs to the package 'xml-parser' and not 'Collections-Strings', its category is '*xml-parser'.
So I've written a tool to parse all packages of Pharo / PhraroInbox repositories to find in which package assert:equals: is defined, I cannot find one.
It's normal because this method does not belong to pharo. It belongs to the package SUnit-Improved that pharo-dev only contains.
Furthermore, how to know in wich repository a package is in ? In cannot find in which repository SUnit-Enhancement package is (and it's not on Pharo repository)
You can use the Universe browser.
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu) _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project