From my understanding runtests.jl should be able to find Example.jl by itself and include it.
But even after including Example.jl manually I get the same error.
Didn’t find anybody having the same problem online so I’m posting it here…
I think the example in the docs might be wrong because it doesn’t export the functions it defines. Basically, if you want to use the function simple_add outside of the Example module, there are three options:
hope that Example contains the statement export simple_add
prefix the function call with Example.simple_add
replace using Example with using Example: simple_add
Indeed, what I meant is that the Examples.jl package on the JuliaLang GitHub repo has an export, but the Example module on the test docs page doesn’t, and that second part seems wrong to me (regardless of the fact that they have different contents). I’ll open a PR