Skip to content

Use SciMLTesting v1.0.0 (run_tests harness)#228

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

Use SciMLTesting v1.0.0 (run_tests harness)#228
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
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 = qa.jl + basictests.jl (main env, run under "All"/"Core"); groups["GPU"] and groups["JET"] each declare their test/gpu / test/jet sub-env via (; env = ..., body = ...), so (matching the original) they run only on an explicit GROUP=GPU / GROUP=JET and never under "All". activate_group_env reproduces the old activate_gpu_env/activate_jet_env helpers. The unused LONGER_TESTS global (referenced nowhere) is dropped. Pkg was only used by the old harness, so it is dropped from [extras]/[targets]/[compat].

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.

Replace the hand-written GROUP-dispatch in test/runtests.jl with a single
declarative SciMLTesting.run_tests call. Behavior-equivalent refactor: same
group routing (Core/All and the per-repo named/QA groups), same test bodies.
Add SciMLTesting to the test deps; drop Pkg from the test deps where it was
only used by the old activate/develop/instantiate harness.

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