Skip to content

Use SciMLTesting v1.0.0 (run_tests harness)#297

Open
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:sciml-testing-rollout
Open

Use SciMLTesting v1.0.0 (run_tests harness)#297
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:sciml-testing-rollout

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Replace the hand-written GROUP-dispatch in test/runtests.jl with a single declarative SciMLTesting.run_tests call (SciMLTesting v1.0.0).

This is a pure, behavior-equivalent harness refactor — same group routing and same test bodies, just driven by run_tests instead of a copy-pasted if GROUP == ... ladder.

Routing: core = the Core testset (qa/basics/sensitivity/ensemble/threshold/examples, run in the main test env); groups["Datafit"] = datafit.jl (no sub-env, so it also runs under "All"). No Pkg was present in the test deps, so none was removed.

Project.toml: add SciMLTesting to [extras], [targets].test, and [compat] (= "1").

Verified statically (TOML parse + Meta.parseall of runtests.jl) and the dispatch was checked against the real run_tests with marker thunks to confirm each GROUP selects the same bodies as before. Heavy suites left to CI.

Ignore until reviewed by @ChrisRackauckas.

Convert test/runtests.jl from the hand-written GROUP if-ladder to a single
SciMLTesting.run_tests call. Behavior-equivalent: the set of tests run under
each GROUP value is identical to the previous dispatcher.

  * core    = Core testset (qa.jl, basics, sensitivity, ensemble, threshold,
              examples) -- QA is folded into Core exactly as upstream main.
  * groups  = Dict("Datafit" => datafit.jl).
  * all     = ["Core", "Datafit"] -- the curated v1.1.0 membership reproducing
              the original All branch (Core then Datafit; no separate QA group
              ever existed here).

Project.toml: add SciMLTesting (uuid 09d9d899-5365-40a9-917a-5f67fddea283,
[compat] "1") to [extras] + test target. No Pkg to drop (upstream test deps
never included Pkg).

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 15, 2026 05:06
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