Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Welcome, Guest. Please login or register.
December 17, 2017, 09:52:37 PM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
Pages: [1]
Author Topic: How to determine whether a specific notification is sent?  (Read 2921 times)
Jr. Member
Posts: 10

View Profile Email
« on: August 15, 2010, 05:33:25 AM »

    Recently I've been looking into aproaches to unit testing fabrication flex applications. At many cases mediators send out notifications to react to events fired from its uicomponent and never care what happens next to the out going notification--weak coupling. And I also want my test code to be like this. For instance I only have to make sure that a specific notification is sent out after the button's click event is dispactched. Then I can focus on testing the commands that respond to it. Other wise I could only see piles of integration test code that stick the mvc all together...So is there a general approach? Can i find out the lastest notification sent in fabrication? Thank you very much.

Pages: [1]
Jump to: