From e89e265970fbbdc988350697290d5dad8b1a97a8 Mon Sep 17 00:00:00 2001 From: Michael Kraus Date: Fri, 9 Oct 2026 16:46:47 +0200 Subject: [PATCH] Move the top-level test files that mirror no source file The test convention keeps a test file at the top level of test/ only where it mirrors src/.jl. Each moved file keeps its label and group in test/runtests.jl. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 5 +++++ test/{ => integration}/defects.jl | 0 test/runtests.jl | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) rename test/{ => integration}/defects.jl (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b192ae..8d40c73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,11 @@ first entry is written. ### Changed +- **`test/defects.jl` moved to `test/integration/defects.jl`.** It tests `src/particle.jl`, + `src/particle_list.jl` and `src/hdf5_utils.jl`, whose deepest common directory is `src/` + itself. The test convention keeps a test file at the top level of `test/` only where it + mirrors `src/.jl`, so a test that spans several top-level source files goes under + `test/integration/`. `test/runtests.jl` includes it from there, with the same label and group. - **CI uploads coverage from the `Julia 1 - ubuntu-latest` job** instead of `Julia min`, and a test job saves the Julia cache only when it succeeds. - **`test/Project.toml` no longer carries a `[compat]` entry for `HDF5`** (`"0.16, 0.17"`). diff --git a/test/defects.jl b/test/integration/defects.jl similarity index 100% rename from test/defects.jl rename to test/integration/defects.jl diff --git a/test/runtests.jl b/test/runtests.jl index b3738b0..ce6c592 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -6,5 +6,5 @@ if "core" in GROUPS @safetestset "Aqua" include("quality/aqua.jl") @safetestset "Particles" include("particle.jl") @safetestset "Particle Lists" include("particle_list.jl") - @safetestset "Defects" include("defects.jl") + @safetestset "Defects" include("integration/defects.jl") end