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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -