When I run tests in a directory, I hope the code is loaded in tests is from
the directory, not the pkg path.
Does this make sense?
For example, I cloned the XXX, and added something to it, and run tests,
oops, nothing changed ...
Then I fond the code loaded is come from the Pkg.dir().
Did i do this in a right way? Or just I make some mistakes?
Sometimes we want to see a pkg source code, and make some changes and see
effects.
But I do not want to change the Pkg.dir()'s code, because all projects are
depended on this code.
And the code in the directory is much more closer than the code in Pkg path.
I make some efforts about this, finally I can do this... but is very very
inelegant.
I fond this
```
for prefix in [Pkg.dir(), LOAD_PATH]
# loading.jl, line 13
# Julia in may computer
# Version 0.3.0-prerelease+2500 (2014-04-05 20:00 UTC)
# Commit 742593f* (80 days old master)
# x86_64-apple-darwin13.2.0
```
The original is
https://groups.google.com/forum/?fromgroups=#!topic/julia-users/sEoQb3Yr1mc,
it has typo, sorry about that...