gae-go-testing

Go 应用引擎的测试库,为您提供一个 appengine.Context 假进程,并将其转发给 dev_appserver.py 子进程。「Testing library for Go App Engine, giving you an appengine.Context fake that forwards to a dev_appserver.py child process.」

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownertenntenn/gae-go-testing
Primary LanguageGo
Program languageGo (Language Count: 2)
Platform
License:Other
所有者活动
Created At2012-08-16 23:56:23
Pushed At2013-03-12 22:39:59
Last Commit At2013-03-12 15:39:58
Release Count0
用户参与
Stargazers Count14
Watchers Count2
Fork Count13
Commits Count26
Has Issues Enabled
Issues Count5
Issue Open Count2
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private