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
|
|
|
|
info("Test: Weaving with Plots.jl")
|
|
|
|
include("plotsjl_test.jl")
|
|
|
|
end
|
|
|
|
|
2018-07-26 10:35:17 +02:00
|
|
|
#@testset "Caching" begin
|
|
|
|
# @info("Test: Caching")
|
|
|
|
# include("cache_test.jl")
|
|
|
|
#end
|
2018-07-25 20:43:38 +02:00
|
|
|
end
|
2016-12-13 17:44:44 +01:00
|
|
|
|
2018-01-02 14:54:55 +01:00
|
|
|
|
2018-07-23 18:39:48 +02:00
|
|
|
#@info("Test: Chunk options with Gadfly")
|
|
|
|
#include("chunk_opts_gadfly.jl")
|
2018-01-02 14:54:55 +01:00
|
|
|
|
2018-07-23 18:39:48 +02:00
|
|
|
#@info("Test: Weaving with Plots.jl")
|
|
|
|
#include("plotsjl_test.jl")
|
|
|
|
#include("publish_test.jl")
|