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