1
0
Fork 0
mirror of https://github.com/MillironX/Kelpie.jl.git synced 2025-01-15 01:19:04 -05:00

Add doctests as unit tests

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2022-03-31 18:57:53 -05:00
parent 853a633962
commit f9f1bed651
Signed by: millironx
GPG key ID: 139C07724802BC5D
2 changed files with 9 additions and 3 deletions

View file

@ -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"]

View file

@ -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