import "github.com/facebookincubator/ent/entc/integration/ent/enttest"
NewClient calls ent.NewClient and auto-run migration.
Open calls ent.Open and auto-run migration.
type Option func(*options)
Option configures client creation.
func WithMigrateOptions(opts ...schema.MigrateOption) Option
WithMigrateOptions forwards options to auto migration.
WithOptions forwards options to client creation.
type TestingT interface { FailNow() Error(...interface{}) }
TestingT is the interface that is shared between testing.T and testing.B and used by enttest.
Package enttest imports 4 packages (graph). Updated 2020-08-21. Refresh now. Tools for package owners.