Hi Guillermo
By mistake I was trying to load a project from
SqueakSource in which I
had forgot to load some classes. The project is called XUnitTest and its
main objective is to make Moose aware of unit tests, which in some cases
it already is aware, but anyway, one of my tests was trying to load some
class called Example1Test into Moose and then perform some assertions.
It turns out I'm really starting to use Monticello and there are certain
things I still don't quite understand well, for example that it doesn't
automatically realize all the classes I've changed and include them in
the project XUnitTest, I didn't quite understand the message protocol
part yet (method category). I guess doing that automatically would be
dangerous.
You should show that to me.
Then I tried to load XUnitTest in a clean image (with
Moose loaded of
course) and I got this error:
"Sets can't meaningful contain nil as an element" at:
[...]
As far as I understand, the problem is Example1Test does not exist. Since you probably
renamed it after your test has been written, then Example1Test points to nil. It does not
make sense to send "addClass: nil"
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.