Skip to content

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

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)#225
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:sciml-testing-rollout

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

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

  • test/runtests.jl is now just using SciMLTesting; run_tests().
  • Core = top-level test/*.jl: rootedtree_tests.jl, coloredrootedtree_tests.jl, order_conditions_tests.jl, plots_tests.jl — self-contained files split out of the old inline runtests.jl Core testsets.
  • QA = test/qa/ holding self-contained aqua_tests.jl, explicitimports_tests.jl, jet_tests.jl, each run in its own @safetestset inside the existing isolated test/qa/Project.toml sub-env (the umbrella qa.jl is removed; folder-discovery runs every file in the folder directly).
  • Added SciMLTesting + SafeTestsets to test/Project.toml and SciMLTesting to test/qa/Project.toml; dropped Pkg from the test env (the harness owns all Pkg operations).
  • test/test_groups.toml unchanged.

Behavior-preserving: the file set run under GROUP=Core and GROUP=QA is unchanged. Verified locally on Julia 1.11: GROUP=QA run_tests() passes (Aqua 11, ExplicitImports 2, JET 12), exercising the sub-env activation path; folder-discovery resolver confirmed Core resolves to the 4 top-level files and QA to the 3 qa files.

Supersedes the v1.0.0 harness conversion previously on this branch.

Ignore until reviewed by @ChrisRackauckas.

Convert test/runtests.jl to the SciMLTesting v1.2 folder-discovery model:
runtests.jl becomes `using SciMLTesting; run_tests()`. Core = top-level
test/*.jl (rootedtree/coloredrootedtree/order_conditions/plots tests, split
self-contained from the inline runtests testsets). QA = test/qa/ holding the
self-contained Aqua/ExplicitImports/JET files (run in the existing isolated
qa sub-env). Added SciMLTesting + SafeTestsets to test deps and SciMLTesting
to test/qa/Project.toml; dropped Pkg (the harness owns all Pkg ops).
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-Claude ChrisRackauckas-Claude changed the title Use SciMLTesting v1.0.0 (run_tests harness) Use SciMLTesting v1.2 (folder-based run_tests) Jun 14, 2026
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 14, 2026 23:54
@ChrisRackauckas ChrisRackauckas merged commit 1d36175 into SciML:main Jun 14, 2026
8 of 11 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