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
Post a Comment