JuliaTesting / ReferenceTests.jl

Utility package for comparing data against reference files
https://juliatesting.github.io/ReferenceTests.jl/latest/
Other
82 stars 14 forks source link

Reference file path should be relative to the the file it is run from #16

Closed oxinabox closed 6 years ago

oxinabox commented 6 years ago

I got caught of guard just now, because all my tests are PKG/test/, and my references are in PKG/test/references/

But I ran my tests from PKG. And ended up creating a bunch of tests in PKG/references.

@__DIR__ should allow for this change

Evizero commented 6 years ago

interessting. I actually thought we used @__DIR__

oxinabox commented 6 years ago

I was doing something silly. I forgot I moved a file.