Skip to content

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

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)#454
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 simply using SciMLTesting; run_tests().
  • Core = the top-level test/*.jl files. The former test/layers/*.jl and test/models/*.jl files — which GROUP=Core already ran — are flattened to the top level so the Core glob discovers them (folder-discovery does not recurse into subfolders). All 21 Core test files are each run in their own isolated @safetestset, exactly as before.
  • QA = test/qa/ with its own Project.toml sub-env (unchanged location).
  • Dependency edits: added SciMLTesting to the root [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 — confirmed no other test/*.jl uses Pkg).
  • test/test_groups.toml is unchanged.

Behavior-preserving: the set of test files run under each GROUP value (Core/All/QA) is identical to the previous grouped dispatcher (verified by simulating v1.2 folder-discovery against the new layout — 21 Core files + QA's qa.jl).

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

Convert test/runtests.jl to the SciMLTesting v1.2 folder-discovery model:
runtests.jl is now `using SciMLTesting; run_tests()`. Core = top-level
test/*.jl; the former test/layers/ and test/models/ files (which GROUP=Core
already ran) are flattened to the top level so the Core glob discovers them.
QA = test/qa/ (unchanged). Adds SciMLTesting to the root test deps and to
test/qa/Project.toml; drops Pkg (the v1.2 harness owns all Pkg operations).
test/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 c665294 into SciML:master Jun 14, 2026
17 checks passed
Saswatsusmoy added a commit to Saswatsusmoy/ReservoirComputing.jl that referenced this pull request Jun 15, 2026
Resolve PR2 vs master conflicts after the SciMLTesting v1.2 migration
landed on master (PR SciML#454, SciML#453, SciML#452, SciML#451, SciML#449):

- Project.toml: keep our weakdeps (DataInterpolations, OrdinaryDiffEq,
  SciMLBase), our compat bumps (NNlib 0.9.30, PrecompileTools 1.2),
  and our test extras. Adopt master's SciMLTesting test dep, drop the
  Pkg test dep that master removed (the v1.2 harness owns Pkg ops).
- test/runtests.jl: replace the hand-rolled SafeTestsets + GROUP
  dispatch with `using SciMLTesting; run_tests()` — folder-discovery
  picks up `test/test_ode_reservoir_ext.jl` and
  `test/test_sciml_reservoir.jl` automatically.

Also follow up on Francesco's PR-wide style review:
- Rename the remaining single-letter `u` / `u_val` bindings inside
  RHS bodies in ext + tests + the docs example to `input_t` for
  consistency with the rename pass already applied PR-wide.
- Add a Lorenz chaos-forecasting eye-test section in the SciML
  reservoir tutorial that mirrors the README ESN example but feeds
  the raw leaky-integrator continuous ESN equations into a
  `SciMLProblemReservoir` (no CTESN struct yet, per Francesco's ask).

Local replay (Julia 1.10, SciMLTesting v1.2 folder-discovery):
GROUP=Core passes all groups including
`Core/test_ode_reservoir_ext.jl` 34/34 and
`Core/test_sciml_reservoir.jl` 24/24.
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