Skip to content

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

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

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Converts the test suite to the SciMLTesting v1.2 folder-discovery model.

  • test/runtests.jl is now just using SciMLTesting; run_tests().
  • Core = top-level test/*.jl (interface, inf_integral, gaussian_quadrature, sampled, quadrule, verbosity, alt_transformation, hadaptiveintegration) — the same 8 files the old GROUP == "Core" branch ran.
  • AD = test/AD/ (moved derivative_tests.jl + nested_ad_tests.jl there). No sub-env Project.toml, so they run in the main test env exactly as before. test_groups.toml keeps [AD] versions = ["lts"].
  • QA = test/qa/ with its existing sub-env Project.toml; qa.jl is unchanged — the harness's activate_group_env now performs the activation that the old activate_qa_env() did.
  • Added SciMLTesting to the root [extras]/[targets].test/[compat] and to test/qa/Project.toml (with SafeTestsets); dropped the now-unused Pkg from the root test deps + compat (no test/*.jl references Pkg anymore — the harness owns all Pkg ops).
  • test/test_groups.toml unchanged; per-group test sets (Core / AD / QA, and All = Core + AD) are identical to before.

Verified on Julia 1.11: GROUP=QA runs qa.jl (18/18 pass via the sub-env activation path); Core files run and pass under folder-discovery (alt_transformation 19/19, gaussian_quadrature 37/37, hadaptiveintegration 9/9, inf_integral 746/746, before an unrelated environmental kill from concurrent load).

Ignore until reviewed by @ChrisRackauckas.

Replace the hand-written GROUP dispatch in test/runtests.jl with the
SciMLTesting v1.2 folder-discovery model:

- runtests.jl is now `using SciMLTesting; run_tests()`.
- Core: top-level test/*.jl (interface, inf_integral, gaussian_quadrature,
  sampled, quadrule, verbosity, alt_transformation, hadaptiveintegration).
- AD: moved derivative_tests.jl + nested_ad_tests.jl into test/AD/ (no
  sub-env Project.toml; they run in the main test env, as before).
- QA: test/qa/ with its sub-env Project.toml (unchanged qa.jl; the harness
  now owns the env activation that activate_qa_env did).
- Add SciMLTesting to root [extras]/[targets].test/[compat] and to
  test/qa/Project.toml (+ SafeTestsets); drop the now-unused Pkg from the
  root test deps + compat (no test/*.jl references Pkg anymore).
- test/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 ChrisRackauckas marked this pull request as ready for review June 14, 2026 23:54
@ChrisRackauckas ChrisRackauckas merged commit 8cf84db into SciML:master Jun 14, 2026
11 of 12 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