looper icon indicating copy to clipboard operation
looper copied to clipboard

Adding support for testing with appengine classic

Open mzimmerman opened this issue 10 years ago • 3 comments
trafficstars

This adds support to use the goapp binary instead of the go binary to run the tests. This can't be implemented with #26 although I support that initiative too.

More flags are frowned upon sometimes I know for sacrificing simplicity, but many of my projects use appengine classic which still requires the goapp tool to pull in appengine classic code (modified $GOROOT)

mzimmerman avatar Sep 04 '15 15:09 mzimmerman

What do you think of using some sort of detection rather than a flag? Maybe something based on app.yaml in the working directory?

nathany avatar Sep 12 '15 03:09 nathany

app.yaml is just the default -- especially when you start using modules, the yaml file will be named something else. Also detecting on app.yaml would then include other directories that have that file but aren't actually using appengine.

I guess what I'm saying is, I think a flag is the easiest explicit method. Feel free not to accept the PR though; it's not a big deal.

mzimmerman avatar Sep 21 '15 16:09 mzimmerman

That makes sense. I don't know if flags will be the long-term solution, but it works for now.

I should give this a quick test before merging. Thanks.

nathany avatar Sep 24 '15 16:09 nathany