Skip to content

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

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)#88
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

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

using SciMLTesting
run_tests()

test/test_groups.toml (Core + QA) is the single source of truth; groups map to folders.

Layout

  • Core = the 9 top-level test/*.jl the old GROUP=Core/All dispatch ran (run flat, each in its own @safetestset). The dormant, commented-out fisher.jl is moved to test/shared/ so the Core glob does not start running it (behavior-preserving — it was never run).
  • QA = the existing test/qa/ (qa.jl + Project.toml), auto-activated as a sub-env by the harness. qa.jl is unchanged (keeps its two @test_broken markers for the Aqua deps_compat / JET issues tracked in QA: Aqua/JET findings marked @test_broken pending fix #84).

Changes

  • Core files: using ..FiniteVolumeMethod1Dusing FiniteVolumeMethod1D. The bare run_tests() no longer loads the package into Main (the old hand-written runtests did), so the absolute import is what resolves inside the Pkg.test test env. No assertions changed.
  • test/Project.toml: add SciMLTesting (+ compat) and SafeTestsets/Test compat; drop Pkg (no test/*.jl uses it; the harness owns all Pkg ops).
  • test/qa/Project.toml: add SciMLTesting + SafeTestsets (+ compat); drop Pkg; [sources] kept relative.
  • Removed the stale checked-in test/Manifest.toml (it is already inconsistent with the project on main, so CI must re-resolve regardless) and gitignored it.
  • test/test_groups.toml unchanged.

Validation

Validated locally on Julia 1.11 via Pkg.test:

  • GROUP=Core — all 9 files pass.
  • GROUP=QA — 7 pass, 2 @test_broken (matches the prior qa.jl behavior; exercises the sub-env activation path).

This supersedes the v1.0.0 run_tests harness form previously on this branch.

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

Convert test/runtests.jl to the SciMLTesting v1.2 folder-discovery model:
`using SciMLTesting; run_tests()`. Groups Core + QA from test_groups.toml.

- Core = the 9 top-level test/*.jl the old GROUP=Core/All dispatch ran. The
  dormant (commented-out) fisher.jl is moved to test/shared/ so the Core glob
  does not start running it.
- QA = the existing test/qa/ (qa.jl + Project.toml), auto-activated as a sub-env.
- Core files: `using ..FiniteVolumeMethod1D` -> `using FiniteVolumeMethod1D`
  (the bare run_tests() no longer loads the package into Main; the absolute
  import resolves in the Pkg.test test env). No assertions changed.
- test/Project.toml: add SciMLTesting (+compat) and SafeTestsets/Test compat;
  drop Pkg (no test/*.jl uses it; the harness owns all Pkg ops).
- test/qa/Project.toml: add SciMLTesting + SafeTestsets (+compat); drop Pkg.
- Remove the stale checked-in test/Manifest.toml (already inconsistent on main)
  and gitignore it; the grouped-tests CI re-resolves the test env.

Validated locally on julia 1.11 via Pkg.test: GROUP=Core (all 9 files pass)
and GROUP=QA (7 pass, 2 @test_broken, matching the prior qa.jl behavior).

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 17d4867 into SciML:main Jun 14, 2026
9 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