Skip to content

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

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

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

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Converts test/runtests.jl to the SciMLTesting v1.2 folder-discovery model:

using SciMLTesting
run_tests()
  • Core = the top-level test/*.jl files (the same 9 files the old dispatcher ran for the non-QA branch: ProblemConstructor, reflect, MLP, DeepSplitting, DeepBSDE, MCSample, NNStopping, NNKolmogorov, NNParamKolmogorov).
  • QA = test/qa/ (its existing Project.toml sub-env, running Aqua).

The exact set of tests run under each GROUP value (All/Core/QA) is unchanged — All and Core both run the 9 top-level files; QA runs qa/qa.jl. No assertions were altered.

test/DeepBSDE_Han.jl moved to test/shared/. That file was never included by the old runtests.jl (a dormant test file). Folder-discovery globs every top-level test/*.jl as Core, so leaving it at the top level would have started running it — a behavior change. test/shared/ is a non-group subfolder that discovery never globs, so the file stays dormant exactly as before.

Dependency edits:

  • Root Project.toml: add SciMLTesting to [extras], [targets].test, and [compat] (= "1"); widen SafeTestsets compat to "0.1, 1"; drop Pkg from the test deps and its [compat] entry (the harness owns all Pkg ops now — no test/*.jl references Pkg).
  • test/qa/Project.toml: add SciMLTesting + SafeTestsets (and compat).
  • test/test_groups.toml left unchanged.

Ignore until reviewed by @ChrisRackauckas.

Replace the hand-written GROUP dispatcher in test/runtests.jl with the
declarative `using SciMLTesting; run_tests()` folder-discovery form.

Core = the top-level test/*.jl files (the same 9 files the old dispatcher
ran for the non-QA branch); QA = test/qa/. The exact set of tests run under
each GROUP value (All/Core/QA) is preserved.

test/DeepBSDE_Han.jl was never included by the old runtests.jl (a dormant
file), so it is moved into test/shared/ — a non-group subfolder that
folder-discovery never globs — to keep it from being auto-run as part of
Core. No behavior change.

Deps: add SciMLTesting to the root [extras]/[targets].test/[compat] and to
test/qa/Project.toml; drop Pkg from the test deps + its [compat] entry (the
harness owns all Pkg ops now; no test/*.jl references Pkg).
test_groups.toml unchanged.

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 2fb736d into SciML:main Jun 14, 2026
10 of 18 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