Building unit tests for asp.net mvc2 async controller actions that return data -


i've had around , can't seem specific answer above question. example, thread:

building unit tests mvc2 asynccontrollers

talks waiting async actions finish, great, need able retrieve data returned completed method.

cheers, andrew.

one way make event handler:

controller.asyncmanager.finished += (sender, ev) => {                                                   var result = controller.transactioncompleted();                                                   trigger.set();                                                 } 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -