I've been thinking about creating some test cases, but goapp test isn't able to run. The environment seems to be fine otherwise: goapp serve works normally, and I can deploy to google.
$ echo $GOROOT
$ echo $GOPATH
/Users/mblakele/opt/gocode
$ git co master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
$ git pull
Current branch master is up to date.
$ goapp test
utils.go:47:2: cannot find package "atom" in any of:
/Users/mblakele/opt/go_appengine/goroot/src/pkg/atom (from $GOROOT)
/Users/mblakele/opt/gocode/src/atom (from $GOPATH)
utils.go:48:2: cannot find package "rdf" in any of:
/Users/mblakele/opt/go_appengine/goroot/src/pkg/rdf (from $GOROOT)
/Users/mblakele/opt/gocode/src/rdf (from $GOPATH)
utils.go:49:2: cannot find package "rss" in any of:
/Users/mblakele/opt/go_appengine/goroot/src/pkg/rss (from $GOROOT)
/Users/mblakele/opt/gocode/src/rss (from $GOPATH)
user.go:45:2: cannot find package "sanitizer" in any of:
/Users/mblakele/opt/go_appengine/goroot/src/pkg/sanitizer (from $GOROOT)
/Users/mblakele/opt/gocode/src/sanitizer (from $GOPATH)
I've been thinking about creating some test cases, but
goapp test
isn't able to run. The environment seems to be fine otherwise:goapp serve
works normally, and I can deploy to google.This may be related to #292. If I apply the changes in that pull request then
goapp test
andgoapp test ./...
run without error. However that breaksgoapp serve
and the only solution for that seems to be https://groups.google.com/d/msg/google-appengine-go/dNhqV6PBqVc/VzQnW4gPElgJ and https://groups.google.com/d/msg/google-appengine-go/dNhqV6PBqVc/jmGIDIaVhBQJ and https://groups.google.com/d/msg/google-appengine-go/dNhqV6PBqVc/ihzI5vgdE1EJ — which requires some surgery, but may be the only way to fix the problem.Here's the error from
goapp test
: