Testing Cappuccino Notifications
Posted: January 7th, 2010 | Author: Jerod | Filed under: Cappuccino | Tags: testing | CommentsWriting a web app using Cappuccino has a lot of benefits, one of which is a really nice message passing system wherein certain objects can register to observe events and take action when other objects post notifications of those events.
Here is a very basic way to test if your app is posting event notifications as you expect it to. First, create an Observer class inside a test helper file, which will be included into your tests:
Read the rest of this entry »