Skip to content

Testing library for Go App Engine, giving you an appengine.Context fake that forwards to a dev_appserver.py child process.

License

Notifications You must be signed in to change notification settings

tenntenn/gae-go-testing

Repository files navigation

gae-go-testing

Testing library for Go App Engine, giving you an appengine.Context fake that forwards to a dev_appserver.py child process. This library is fixed for go1 based on http://code.google.com/p/gae-go-testing/ . This library works on GAE/G 1.7.0 or higher and go1 and tested on:

* GAE/G 1.7.0, go 1.0.2
* GAE/G 1.7.1, go 1.0.2

Installation

Set environment variables :

export APPENGINE_SDK=/usr/local/google_appengine
export PATH=$PATH:$APPENGINE_SDK

Before installing this library, you have to install appengine SDK. And copy appengine, appengine_internal and goprotobuf as followings :

curl https://raw.github.com/tenntenn/gae-go-testing/master/setup.py | python

This library can be installed as following :

$go get github.com/tenntenn/gae-go-testing

Usage

context_test.go and recorder_test.go show an example of usage.

About

Testing library for Go App Engine, giving you an appengine.Context fake that forwards to a dev_appserver.py child process.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published