Skip to content

Commit 805046f

Browse files
committed
Rename to DynamicModelTestUtils
1 parent 0bbe9e0 commit 805046f

File tree

7 files changed

+22
-20
lines changed

7 files changed

+22
-20
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
- run: |
8484
julia --project=docs -e '
8585
using Documenter: doctest
86-
using ModelTesting
87-
doctest(ModelTesting)'
86+
using DynamicModelTestUtils
87+
doctest(DynamicModelTestUtils)'
8888
- run: julia --project=docs docs/make.jl
8989
env:
9090
JULIA_PKG_SERVER: ""

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name = "ModelTesting"
1+
name = "DynamicModelTestUtils"
22
uuid = "726cd793-0c59-4a7a-97d2-1baad301d093"
33
authors = ["Ben Chung <benjamin.chung@juliahub.com> and contributors"]
4-
version = "0.1.0"
4+
version = "0.1.1"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ModelTesting
2-
ModelTesting is a simple package that wraps SymbolicIndexingInterface to provide straightforward model regression analysis & comparision functionality.
1+
# DynamicModelTestUtils
2+
DynamicModelTestUtils is a simple package that wraps SymbolicIndexingInterface to provide straightforward model regression analysis & comparision functionality.
33

44
It can export model result data using `discretize_solution` into a DataFrame and can compare against those DataFrames using `compare`. It's intended for use in CI pipelines.

docs/make.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
using ModelTesting
1+
using DynamicModelTestUtils
22
using Documenter
33

4-
DocMeta.setdocmeta!(ModelTesting, :DocTestSetup, :(using ModelTesting); recursive=true)
4+
DocMeta.setdocmeta!(DynamicModelTestUtils, :DocTestSetup, :(using DynamicModelTestUtils); recursive=true)
55

66
makedocs(;
7-
modules=[ModelTesting],
7+
modules=[DynamicModelTestUtils],
88
authors="Ben Chung <benjamin.chung@juliahub.com> and contributors",
9-
repo="https://github.com/BenChung/ModelTesting.jl/blob/{commit}{path}#{line}",
10-
sitename="ModelTesting.jl",
9+
repo="https://github.com/BenChung/DynamicModelTestUtils.jl/blob/{commit}{path}#{line}",
10+
sitename="DynamicModelTestUtils.jl",
1111
format=Documenter.HTML(;
1212
prettyurls=get(ENV, "CI", "false") == "true",
1313
edit_link="master",
@@ -18,5 +18,5 @@ makedocs(;
1818
],
1919
)
2020
deploydocs(
21-
repo = "github.com/JuliaComputing/ModelTesting.jl.git",
21+
repo = "github.com/JuliaComputing/DynamicModelTestUtils.jl.git",
2222
)

docs/src/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
```@meta
2-
CurrentModule = ModelTesting
2+
CurrentModule = DynamicModelTestUtils
33
```
44

5-
# ModelTesting
5+
# DynamicModelTestUtils
66

7-
Documentation for [ModelTesting](https://github.com/BenChung/ModelTesting.jl).
7+
Documentation for [DynamicModelTestUtils](https://github.com/BenChung/DynamicModelTestUtils.jl).
88

9-
ModelTesting is intended to facilitate the easy testing and post-facto analysis of ModelingToolkit models. It currently provides two key bits of functionality:
9+
DynamicModelTestUtils is intended to facilitate the easy testing and post-facto analysis of ModelingToolkit models. It currently provides two key bits of functionality:
1010

1111
* Serialization of MTK solutions into a common format through `discretize_solution`.
1212
* Comparison of solutions to each other and to previously-saved data through `compare`.
@@ -16,5 +16,5 @@ ModelTesting is intended to facilitate the easy testing and post-facto analysis
1616
```
1717

1818
```@autodocs
19-
Modules = [ModelTesting]
19+
Modules = [DynamicModelTestUtils]
2020
```
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module ModelTesting
1+
module DynamicModelTestUtils
22
using DataFrames, StatsBase, LinearAlgebra
33
using ModelingToolkit, SciMLBase, SymbolicIndexingInterface
44
abstract type DiscreteEvaluation end
@@ -8,4 +8,5 @@ include("test/discretize.jl")
88
include("test/instant.jl")
99
include("test/compare.jl")
1010
include("problem_config/problem.jl")
11+
include("deploy/deploy.jl")
1112
end

test/runtests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#using JuliaSimModelOptimizer
2-
using ModelTesting
2+
using DynamicModelTestUtils
33
using DifferentialEquations, DataFrames, ModelingToolkit
44
import SymbolicIndexingInterface
55
using Test
66

7-
@testset "ModelTesting.jl" begin
7+
@testset "DynamicModelTestUtils.jl" begin
88
#include("timeseries.jl")
99
include("block_modeling.jl")
1010
include("instantaneous.jl")
11+
include("deployment.jl")
1112
end

0 commit comments

Comments
 (0)