I have a package, say Neet. (I made it with ] generate Neet.) It is a simple package, and src/Neet.jl contains only:
module Neet
export is_great
is_great() = true
end
I navigate to the ./Neet folder and create another directory: test.
I create a file in there named runtests.jl, and inside of it:
using Neet
using Test
@test is_great()
How do I run the test from the REPL? Base.runtests()?
I did try this, but it appears that it runs all of the Julia tests … I just want the tests in my package. Maybe I needed to export something, I’m still sort of shaky on packages.