SUnit testing for morphic

Tom Koenig tomkoenig at mindspring.com
Tue Feb 10 02:08:45 UTC 2004


I'm working on creating some SUnit tests for Jerome Peace's Polygon fixes.

Does anyone have any advice/examples of how I can pass events to messages
programmatically?  I can unit test some messages that pass evt, because the
event really isn't used in the method.  I guess I'm looking for a way to
instantiate events?  (But that can't be right because there is no Event
Class (just EventSensor).

Pointers to any existing SUnit tests cases for Morphic would be useful.

Thanks
Tom




More information about the Squeak-dev mailing list