Testing Client Server Integration
While testing client side code, server dependency also comes into picture which internally may have dependencies on Database, File servers etc. There are always challenges due to flakiness, connection issues.
Hermetic Servers
Hermetic Servers blog post introduces the concept of hermetic server for testing. Guidelines provided for hermetic server are very useful, as we can evaluate existing testing setup.
Strategies for Testing Client-Server Interactions in Mobile Applications
Strategies for Testing Client-Server Interactions in Mobile Applications paper talks about Google+ team’s approach for using Record/ Replay mode using Hermetic server. One more intersting part is smart JSON diffing which is something always requied in client-server testing. e.g. last modified date will differ in record and replay modes.