Over a million developers have joined DZone.

Mobile Application Testing with No Cell Signal

· Java Zone

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

I am working on building a Windows Phone 8 Application for our enterprise and I while doing so I have learned a very painful lesson.  A lesson in testing your application with a phone which only has wifi, not a cell connection.

When building the application I took the needed steps to ensure that my app would handle idle/resume and background/forground correctly.  However when doing this testing I either used my phone which is connected to a cell network OR I used the emulator which is on our corp network.  And for the most part things are going ok.

However, once I handed the app over to our QA team they started reporting very odd bugs (most sadly were crashes).  These bugs all were found while doing idle/resume or background/forground testing on physical phones.  But these phones were different, they were special.  None of the phones were connected to a cell network, only connected via wifi.  This meant that they were able to find some very special, and very hard to reproduce bugs Smile.

The moral of the story is that you need to make sure you test your application with as many different devices and configurations as possible.  Also do NOT assume everyone will have a cell connection on their phone when doing your testing.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.


Published at DZone with permission of Derik Whittaker, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}