top
(README.md)
# tstdata
    import "github.com/coralproject/xenia/tstdata"




## Constants
``` go
const CollectionExecTest = "test_xenia_data"
```
CollectionExecTest contains the name of the collection that is
going to store the xenia test data.



## func Docs
``` go
func Docs() ([]map[string]interface{}, error)
```
Docs reads the fixture and returns the documents.


## func Drop
``` go
func Drop(db *db.DB)
```
Drop drops the temp collection.


## func Generate
``` go
func Generate(db *db.DB) error
```
Generate creates a temp collection with data
that can be used for testing things.









- - -
Generated by [godoc2md](http://godoc.org/github.com/davecheney/godoc2md)

Imports 4 package(s) ΒΆ

  1. github.com/coralproject/xenia/pkg/exec
  2. github.com/ardanlabs/kit/db
  3. github.com/ardanlabs/kit/tests
  4. gopkg.in/mgo.v2