fakepushprovider is a replacement for the push providers to be used in integration testing of push clients.
Project is in very early stage. Most of the functionality is missing and API breaking changes will happen.
There are two major modules: push server and generator. Generator is producing apps and instances (devices) database which can than be shared between fake push server and client under test.
As of now support for FCM(GCM)/HTTP and APNS/2 (HTTP/2) is provided. Support for FCM(GCM)/CCS (XMPP) is planned.
$ go test -v ./apns/... $ go test -v ./fcm/...
$ docker build -t fakepushprovider .
or pull from docker hub
$ docker pull szpakas/fakepushprovider
Usage details are in commands packages.
Apache 2.0, see LICENSE.