favclip / testerator

test accelerator for appengine/go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to pass my own aetest.Options to aetest.NewInstance

tomoemon opened this issue · comments

I would like to pass my own aetest.Options to aetest.NewInstance.
They seem to be always fixed. I can't find the way to change them.

https://github.com/favclip/testerator/blob/master/testarator.go#L80-L84

	opt := &aetest.Options{
		AppID: "unittest",
		StronglyConsistentDatastore: true,
		SuppressDevAppServerLog:     true,
	}

How do you think about adding Options *aetest.Options to Setup struct and using it in SpinUp?

solved my problem. I found that it doesn't need to change the Options.

FYI: I just added c967692