mozilla-services / pushgo

🚨🚨🚨OBSOLETE AND UNMAINTAINED🚨🚨🚨 See Autopush for the current server.
https://github.com/mozilla-services/autopush
Mozilla Public License 2.0
24 stars 10 forks source link

Add proper testing for known Proprietary Ping components #182

Open jrconlin opened 9 years ago

jrconlin commented 9 years ago

For GCM, we need to verify that messaging continues to work and is reliable. See https://developer.android.com/google/gcm/server.html for details.

jrconlin commented 9 years ago

End to end automated testing is not possible without using a somewhat convoluted client callback mechanism. It is possible to use the "dry_run" flag (in our config.toml) which uses the GCM dry run flag, which allows GCM to behave as if it's delivering messages (doing argument and formatting checks), without sending messages to the clients.

We have a GCM SimplePush Demo App for Android (https://github.com/jrconlin/SimplePushDemoApp pending code review before landing on mozsvc), which we can modify to make callbacks to provide end-to-end if required.)