Code Monkey home page Code Monkey logo

gae-go-testing's Introduction

gae-go-testing

DEPRECATED Use package appengine/aetest instead.

Testing library for Go App Engine, giving you an appengine.Context fake that forwards to a dev_appserver.py child process. This library is based on https://github.com/tenntenn/gae-go-testing. This library works on GAE/G 1.8.2.

This package is no longer being maintained. The Go App Engine SDK now includes a testing package (appengine/aetest)

Installation

Make sure you have appengine SDK installed.

Run this script and set corresponding environment variables it asks for:

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

This script will copy appengine, appengine_internal, and goprotobuf packages from GAE SDK to Go root and that install this library with commands

go get github.com/stanfy/gae-go-testing/appenginetestinit
go get github.com/stanfy/gae-go-testing/appenginetesting

Usage

  • Import github.com/stanfy/gae-go-testing/appenginetestinit (making it to be the last in inports list) to your test file and call appenginetestinit.Use() from init() function.

  • Create AppEngine context using appenginetesting.NewContext.

gae-go-testing's People

Contributors

roman-mazur avatar icub3d avatar mzimmerman avatar tenntenn avatar oschmid avatar kylefinley avatar rjourde avatar

Stargazers

Vladislav Lipskiy avatar

Watchers

Paul Taykalo avatar Pavlo Bashmakov avatar  avatar  avatar Alex Tyschenko avatar James Cloos avatar Michael Pustovit avatar Oleksandr Tereshchuk avatar Vladislav Lipskiy avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.