Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
June 28, 2017, 10:32:08 AM
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]
Print
Author Topic: How to determine whether a specific notification is sent?  (Read 2748 times)
spacetimer
Jr. Member
**
Posts: 10


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

Hi,
    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.

Logged
Pages: [1]
Print
Jump to: