goa: github.com/goadesign/goa/goatest Index | Files

package goatest

import "github.com/goadesign/goa/goatest"


Package Files


func Service Uses

func Service(logBuf *bytes.Buffer, respSetter ResponseSetterFunc) *goa.Service

Service provide a general goa.Service used for testing purposes

type ResponseSetterFunc Uses

type ResponseSetterFunc func(resp interface{})

ResponseSetterFunc func

func (ResponseSetterFunc) Encode Uses

func (r ResponseSetterFunc) Encode(v interface{}) error

Encode implements a dummy encoder that returns the value being encoded

type TInterface Uses

type TInterface interface {
    Errorf(format string, args ...interface{})
    Fatalf(format string, args ...interface{})

TInterface is an interface for go's testing.T

Package goatest imports 5 packages (graph) and is imported by 24 packages. Updated 2016-08-16. Refresh now. Tools for package owners.