If you want to test the dependencies under '$GOPATH/src/...' just temporally remove every glide file in the root of your project (glide.yaml, glide.lock,etc...).
Then you can put back those files if you need to use 'vendor' dependencies again.
Update 1
I was looking for the same solution for my projects then I figured out that glide documentation specifies an extra useful parameter on glide.yaml for imports.
According to the official documentation:
repo
: If the package name isn't the repo location or
this is a private repository it can go here.
The package will be checked out from the repo
and put where the package name specifies.
This allows using forks.
In that case you just push your code somewhere (GitHub or Gitlab for private repos of your $GOPATH/src/github.com/hyperledger/burrow I guess) then edit your glide.yaml:
- package: github.com/tendermint/tendermint <-- vendor name dependencies
repo: github.com/myrepo/tendermint <-- your remote fork
version: vx.x.x or your sha commit code
In this way you can switch from your official version to your fork and make your tests.
To turn back to your official version just remove or comment repo and version attributes:
- package: github.com/tendermint/tendermint <-- vendor name dependencies
# repo: github.com/myrepo/tendermint <-- your remote fork
# version: vx.x.x or your sha commit code
I'm testing my forks in this way now and you don't need to change your import paths into your code, hope this helps.
Update 2
Another useful way is to use glide mirror:
Mirrors provide the ability to replace a repo location with
another location that's a mirror of the original.
This is useful when you want to have a cache for your continuous
integration (CI) system or if you want to work on a dependency in
a local location.
I guess this one is the best solution, for example, on command line type:
$ glide mirror set github.com/tendermint/tendermint file:///User/yourname/Gospace/src/github.com/tendermint/tendermint
This will create a mirror.yaml in your GLIDE_HOME (if not exists then will be placed under your $USER/.glide folder).
Now you can test your local version (under GOPATH) without fork your project (as I wrote above).
Once you finished your tests just remove it:
$ glide mirror remove github.com/tendermint/tendermint
vendor/...
but I wanted to see if there was a better/official way to do it. – Montoya