mirror of
https://github.com/MillironX/Kelpie.jl.git
synced 2025-01-15 09:19:07 -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:
parent
853a633962
commit
f9f1bed651
2 changed files with 9 additions and 3 deletions
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue