[squeak-dev] Unstable test: Tests.Monticello.MCSnapshotBrowserTest.testClassSelected

Colin Putney colin at wiresong.com
Mon May 27 19:47:26 UTC 2013


On Mon, May 27, 2013 at 11:44 AM, Frank Shearar <frank.shearar at gmail.com>wrote:


> I don't like the way the tests are written anyway though: I don't like
> unit tests crawling through the UI. I'd rather see tests that checked
> the instvars containing the class list etc.
>

These days, the way to do it would be to use ToolBuilder-SUnit. It provides
trivial widget implementations that don't do anything but expose their
state. So you can make assertions about what the UI is displaying, and
easily simulate clicks etc, without having to deal with actual morphs.

Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130527/08188ec5/attachment.htm


More information about the Squeak-dev mailing list