Skip to content

Use SciMLTesting v1.2 (folder-based run_tests)#107

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sciml-testing-rollout
Jun 14, 2026
Merged

Use SciMLTesting v1.2 (folder-based run_tests)#107
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sciml-testing-rollout

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Converts the test suite to the SciMLTesting v1.2 folder-discovery model.

test/runtests.jl is now just:

using SciMLTesting
run_tests()

Group resolution is derived from test/test_groups.toml + the folder layout:

  • Core = the top-level test/*.jl files (algorithm_tests, callbacks, explicit_imports, initialization_tests, jac_tests, mass_matrix_tests, mtk_initialization_tests, saving_tests) — the same set the old GROUP=All/GROUP=Core dispatch ran.
  • QA = test/qa/ (qa.jl) with its existing per-group Project.toml sub-env — the same as the old GROUP=QA path.

Dependency edits: added SciMLTesting + SafeTestsets to the root test deps ([extras]/[targets].test/[compat]) and to test/qa/Project.toml; dropped Pkg from the root test deps (the v1.2 harness owns all Pkg operations now — no test file references Pkg). test/test_groups.toml is unchanged.

Behavior-preserving: verified with SciMLTesting v1.2.0 that folder-discovery resolves Core to exactly those 8 files and QA to test/qa/qa.jl under its sub-env.

Ignore until reviewed by @ChrisRackauckas.

Replace the GROUP-dispatching runtests.jl with the v1.2 folder-discovery form
(`using SciMLTesting; run_tests()`). Core = the top-level test/*.jl files; QA =
test/qa/ with its sub-env. Add SciMLTesting + SafeTestsets to the test deps and
to test/qa/Project.toml; drop Pkg (the harness owns Pkg ops now).

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 14, 2026 23:54
@ChrisRackauckas ChrisRackauckas merged commit 3f352b9 into SciML:master Jun 14, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants