Testing network unavailability on Windows Phone 7 -


i developing app connects webserver. during development have webserver , phone emulator on same machine.

how can test how app behaves when there's no network connectivity? there test hooks on emulator? should use fiddler fake timeouts? don't see test hooks on getisnetworkavailable() call...

thanks,

the approach i've used wrap appropriate methods in own networkservice class, lets me switch out code stub version during unit tests , integration tests on emulator.


Comments

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -