2014-12-08 09:25:57 +01:00
|
|
|
using Weave
|
2018-07-23 12:37:25 +02:00
|
|
|
using Test
|
2014-12-06 18:16:45 +01:00
|
|
|
|
2018-07-25 20:43:38 +02:00
|
|
|
@testset "Weave" begin
|
|
|
|
@testset "Chunk options" begin
|
|
|
|
@info("Test: Chunk options")
|
|
|
|
include("chunk_options.jl")
|
|
|
|
end
|
|
|
|
|
|
|
|
@testset "Error handling " begin
|
|
|
|
@info("Testing error handling")
|
|
|
|
include("errors_test.jl")
|
|
|
|
end
|
|
|
|
|
2018-07-25 23:12:48 +02:00
|
|
|
@testset "Eval in module" begin
|
|
|
|
include("sandbox_test.jl")
|
|
|
|
end
|
|
|
|
|
2018-07-25 20:43:38 +02:00
|
|
|
@testset "Conversions" begin
|
|
|
|
@info("Test: Converting")
|
|
|
|
include("convert_test.jl")
|
|
|
|
end
|
|
|
|
|
|
|
|
@testset "Formatters" begin
|
|
|
|
@info("Testing formatters")
|
|
|
|
include("formatter_test.jl")
|
|
|
|
include("markdown_test.jl")
|
|
|
|
@info("Testing figure formatters")
|
|
|
|
include("figureformatter_test.jl")
|
|
|
|
end
|
|
|
|
|
|
|
|
@testset "Rich output" begin
|
|
|
|
@info("Testing rich output")
|
|
|
|
include("rich_output.jl")
|
|
|
|
end
|
2018-07-26 10:35:17 +02:00
|
|
|
|
2018-07-26 19:32:10 +02:00
|
|
|
@testset "Plots" begin
|
2018-08-14 11:32:51 +02:00
|
|
|
@info("Test: Weaving with Plots.jl")
|
2018-07-26 19:32:10 +02:00
|
|
|
include("plotsjl_test.jl")
|
|
|
|
end
|
|
|
|
|
2019-03-11 09:23:31 +01:00
|
|
|
@testset "Cache" begin
|
|
|
|
@info("Testing cache")
|
|
|
|
include("cache_test.jl")
|
|
|
|
end
|
|
|
|
|
2019-02-07 18:28:06 +01:00
|
|
|
@testset "Gadfly" begin
|
|
|
|
@info("Test: Weaving with Gadfly.jl")
|
2019-03-11 09:23:31 +01:00
|
|
|
include("gadfly_formats.jl")
|
2019-02-07 18:28:06 +01:00
|
|
|
end
|
2016-12-13 17:44:44 +01:00
|
|
|
|
2019-03-06 21:27:47 +01:00
|
|
|
@testset "Header options" begin
|
|
|
|
@info("Testing header options")
|
|
|
|
include("options_test.jl")
|
|
|
|
end
|
|
|
|
|
|
|
|
@testset "Inline code" begin
|
|
|
|
@info("Testing inline code")
|
|
|
|
include("inline_test.jl")
|
|
|
|
end
|
2019-06-19 19:26:13 +02:00
|
|
|
|
|
|
|
# @testset "Notebooks" begin
|
|
|
|
# @info("Testing Jupyter options")
|
|
|
|
# include("notebooks.jl")
|
|
|
|
# end
|
2019-03-06 21:27:47 +01:00
|
|
|
end
|