Skip to content
This repository was archived by the owner on Jun 18, 2022. It is now read-only.

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

dynamodbtest

Package for testing golang programs that use DynamoDB.

Install

$ go get github.com/groupme/dynamodbtest

Usage

package foo
import"github.com/groupme/dynamodbtest"funcTestFoo(t*testing.T) {
// Log output to aid debuggingdynamodbtest.LogOutput=true// Start a new test processdb, err:=dynamodbtest.New()
iferr!=nil {
t.Fatal(err)
}
deferdb.Close()
// Choice of client is up to you, but you will need to point it at db.URLclient:=NewDynamoClient(...)
client.URL=db.URL()
}

About

Test package for DynamoDB Local

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages