diff --git a/Project.toml b/Project.toml index d90abca..ded7152 100644 --- a/Project.toml +++ b/Project.toml @@ -11,7 +11,8 @@ julia = "1.6" EzXML = "1.1" [extras] +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test"] +test = ["Test", "Documenter"] diff --git a/test/runtests.jl b/test/runtests.jl index ccc6c8f..6307cb2 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,11 @@ +using Documenter using Kelpie using Test +DocMeta.setdocmeta!(Kelpie, :DocTestSetup, :(using Kelpie); recursive=true) + @testset "Kelpie.jl" begin - # Write your tests here. -end + @testset "Doctests" begin + doctest(Kelpie) + end #testset +end #testset