Use SciMLTesting v1.2 (folder-based run_tests)#334
Merged
ChrisRackauckas merged 1 commit intoJun 14, 2026
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Converts the test suite to the SciMLTesting v1.2 folder-discovery model.
test/runtests.jlis now justusing SciMLTesting; run_tests().test/*.jl(interface, inf_integral, gaussian_quadrature, sampled, quadrule, verbosity, alt_transformation, hadaptiveintegration) — the same 8 files the oldGROUP == "Core"branch ran.test/AD/(movedderivative_tests.jl+nested_ad_tests.jlthere). No sub-envProject.toml, so they run in the main test env exactly as before.test_groups.tomlkeeps[AD] versions = ["lts"].test/qa/with its existing sub-envProject.toml;qa.jlis unchanged — the harness'sactivate_group_envnow performs the activation that the oldactivate_qa_env()did.SciMLTestingto the root[extras]/[targets].test/[compat]and totest/qa/Project.toml(withSafeTestsets); dropped the now-unusedPkgfrom the root test deps + compat (notest/*.jlreferencesPkganymore — the harness owns allPkgops).test/test_groups.tomlunchanged; per-group test sets (Core / AD / QA, and All = Core + AD) are identical to before.Verified on Julia 1.11:
GROUP=QAruns 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.