@@ -10,8 +10,8 @@ const GROUP = get(ENV, "GROUP", "All")
10
10
# ## Run Tests ###
11
11
@time begin
12
12
13
- # Tests the `ReactionSystem` structure and its properties.
14
- if GROUP == " All " || GROUP == " ReactionSystem"
13
+ if GROUP == " All " || GROUP == " ModelCreation "
14
+ # Tests the ` ReactionSystem` structure and its properties.
15
15
@testset " ReactionSystem" begin
16
16
@time @safetestset " Reaction Structure" begin include (" reactionsystem_core/reaction_structure.jl" ) end
17
17
@time @safetestset " ReactionSystem Structure" begin include (" reactionsystem_core/reactionsystem_structure.jl" ) end
@@ -22,36 +22,30 @@ const GROUP = get(ENV, "GROUP", "All")
22
22
# @time @safetestset "Coupled CRN/Equation Systems" begin include("reactionsystem_core/coupled_equation_crn_systems.jl") end
23
23
@time @safetestset " Events" begin include (" reactionsystem_core/events.jl" ) end
24
24
end
25
- end
26
25
27
- # Tests model creation via the @reaction_network DSL.
28
- if GROUP == " All" || GROUP == " DSL"
26
+ # Tests model creation via the @reaction_network DSL.
29
27
@testset " DSL" begin
30
28
@time @safetestset " DSL Basic Model Construction" begin include (" dsl/dsl_basic_model_construction.jl" ) end
31
29
@time @safetestset " DSL Advanced Model Construction" begin include (" dsl/dsl_advanced_model_construction.jl" ) end
32
30
@time @safetestset " DSL Options" begin include (" dsl/dsl_options.jl" ) end
33
31
end
34
- end
35
32
36
- # Tests compositional and hierarchical modelling.
37
- if GROUP == " All" || GROUP == " CompositionalModelling"
33
+ # Tests compositional and hierarchical modelling.
38
34
@testset " CompositionalModelling" begin
39
35
@time @safetestset " ReactionSystem Components Based Creation" begin include (" compositional_modelling/component_based_model_creation.jl" ) end
40
36
end
41
37
end
42
38
43
- # Tests various miscellaneous features.
44
- if GROUP == " All " || GROUP == " Miscellaneous "
39
+ if GROUP == " All " || GROUP == " Miscellaneous-NetworkAnalysis "
40
+ # Tests various miscellaneous features.
45
41
@testset " Miscellaneous" begin
46
42
@time @safetestset " API" begin include (" miscellaneous_tests/api.jl" ) end
47
43
@time @safetestset " Compound Species" begin include (" miscellaneous_tests/compound_macro.jl" ) end
48
44
@time @safetestset " Reaction Balancing" begin include (" miscellaneous_tests/reaction_balancing.jl" ) end
49
45
@time @safetestset " Units" begin include (" miscellaneous_tests/units.jl" ) end
50
46
end
51
- end
52
47
53
- # Tests reaction network analysis features.
54
- if GROUP == " All" || GROUP == " NetworkAnalysis"
48
+ # Tests reaction network analysis features.
55
49
@testset " NetworkAnalysis" begin
56
50
@time @safetestset " Conservation Laws" begin include (" network_analysis/conservation_laws.jl" ) end
57
51
@time @safetestset " Network Properties" begin include (" network_analysis/network_properties.jl" ) end
@@ -67,10 +61,8 @@ const GROUP = get(ENV, "GROUP", "All")
67
61
@time @safetestset " Jump System Simulations" begin include (" simulation_and_solving/simulate_jumps.jl" ) end
68
62
@time @safetestset " Nonlinear and SteadyState System Solving" begin include (" simulation_and_solving/solve_nonlinear.jl" ) end
69
63
end
70
- end
71
64
72
- # Tests upstream SciML and DiffEq stuff.
73
- if GROUP == " All" || GROUP == " Upstream"
65
+ # Tests upstream SciML and DiffEq stuff.
74
66
@testset " Upstream" begin
75
67
@time @safetestset " MTK Structure Indexing" begin include (" upstream/mtk_structure_indexing.jl" ) end
76
68
@time @safetestset " MTK Problem Inputs" begin include (" upstream/mtk_problem_inputs.jl" ) end
@@ -86,19 +78,17 @@ const GROUP = get(ENV, "GROUP", "All")
86
78
end
87
79
end
88
80
89
- # Tests network visualisation.
90
- if GROUP == " All " || GROUP == " Visualisation "
91
- @testset " Visualization " begin
81
+ if GROUP == " All " || GROUP == " Visualisation-Extensions "
82
+ # Tests network visualisation.
83
+ @testset " Visualisation " begin
92
84
@time @safetestset " Latexify" begin include (" visualisation/latexify.jl" ) end
93
85
# Disable on Macs as can't install GraphViz via jll
94
86
if ! Sys. isapple ()
95
87
@time @safetestset " Graphs Visualisations" begin include (" visualisation/graphs.jl" ) end
96
88
end
97
89
end
98
- end
99
90
100
- # Tests extensions.
101
- if GROUP == " All" || GROUP == " Extensions"
91
+ # Tests extensions.
102
92
@testset " Extensions" begin
103
93
# @time @safetestset "BifurcationKit Extension" begin include("extensions/bifurcation_kit.jl") end
104
94
# @time @safetestset "HomotopyContinuation Extension" begin include("extensions/homotopy_continuation.jl") end
0 commit comments