Skip to content

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

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

Conversation

@ChrisRackauckas-Claude

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

Copy link
Copy Markdown
Contributor

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

using SciMLTesting
run_tests()

Folder layout:

  • Core = top-level test/core_tests.jl (which includes the ranges/alloc helpers).
  • QA = test/qa/qa.jl with its existing sub-env test/qa/Project.toml.
  • ranges.jl and alloc_tests.jl moved to test/shared/ (a non-group folder that folder-discovery never auto-runs) and included by core_tests.jl from there. ranges.jl has no using of its own and relies on core_tests.jl's scope, so it must remain an include rather than a standalone top-level Core file (which folder-discovery would otherwise run on its own and fail).

Dep edits: Aqua/ExplicitImports/Pkg dropped from the root test deps (QA tools live in the test/qa sub-env; Pkg is owned by the harness; no test file uses it). SciMLTesting + SafeTestsets added to the root test deps and the QA sub-env.

Behavior preserved (verified locally on Julia 1.11): GROUP=Core/All runs core_tests.jl (2615 tests pass), GROUP=QA runs qa.jl (11 pass + 1 broken, the known piracy). All runs Core only (QA excluded), matching the prior dispatch. test/test_groups.toml unchanged.

This supersedes and consolidates the earlier v1.0 rollout and the canonicalize-safetestset PR.

Ignore until reviewed by @ChrisRackauckas.

@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
Convert test/runtests.jl to the SciMLTesting v1.2 folder-discovery model:
runtests.jl is now `using SciMLTesting; run_tests()`. Core = top-level
test/core_tests.jl (which includes the ranges/alloc helpers); QA =
test/qa/qa.jl with its existing sub-env Project.toml.

ranges.jl and alloc_tests.jl are moved to test/shared/ (a non-group folder
that folder-discovery never auto-runs) so they are not picked up as
standalone Core files; core_tests.jl includes them from there. ranges.jl
has no `using` of its own and relies on core_tests.jl's scope, so it must
stay an include rather than a top-level Core file.

Aqua/ExplicitImports/Pkg dropped from the root test deps (QA tools live in
the test/qa sub-env; Pkg is owned by the harness; no test file uses it).
SciMLTesting + SafeTestsets added to the root test deps and the QA sub-env.

Behavior preserved: GROUP=Core/All runs core_tests.jl (2615 tests), GROUP=QA
runs qa.jl (11 pass + 1 broken).

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 8a564df into SciML:master Jun 14, 2026
23 of 26 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