Closed goretkin closed 2 years ago
Even though people use "test/references" as a convention to place the files, I don't really like to have this into the package -- people can just very easily create their own path generators without using macros at all.
refpath(filename) = joinpath(@__DIR__, "references", filename)
there's very little need to maintain a copy of such one-liners here and document it.
I have the following defined in e.g.
MyModule.jl
:Which means I can do
in a few different test files, and only have to worry about choosing a unique name per test file.
I'm just giving this a shot now and thought I'd mention it here.