Skip to content

Move the top-level test files that mirror no source file - #36

Merged
michakraus merged 2 commits into
mainfrom
tests/toplevel-files
Oct 9, 2026
Merged

michakraus merged 2 commits into
mainfrom
tests/toplevel-files

Conversation

@michakraus

@michakraus michakraus commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

What

The test files at the top level of test/ that mirror no source file move to where the test convention puts them: test/<path>.jl for a test of src/<path>.jl, the directory of the sources for a test of several files of one directory, and test/integration/ for a test of the whole package. Each file keeps its label and group; only its path in test/runtests.jl changes.

old path new path source files the test reaches
test/basis.jl test/integration/basis.jl src/bspline.jl, src/recombined.jl, src/boundary.jl, src/mesh.jl, src/quadrature.jl, src/mass.jl, src/spline.jl, src/tensorproduct.jl

Checks

  • The layout check of the test convention: clean.
  • run-tests.jl list on this branch and on main: labels and groups equal line for line; only the paths of the moved files differ.
  • run-tests.jl full --jobs 4 on this branch and on main: both pass with the same totals over all files. Each moved file, run alone on main at its old path and here at its new path, gives the same totals for its label (Clamped and Recombined Basis Tests (basis.jl -> integration/basis.jl): Pass 58142 Fail 0 Error 0 Broken 0 Total 58142).
  • Include paths and comments in the moved file: test/integration/basis.jl is unchanged (the file has no include or joinpath(@__DIR__, ...)).
  • Julia julia version 1.13.1, load average 17:04 load averages: 2,55 3,79 4,31 (base run start 2.34 3.64 4.24; branch run start 3.25 3.7 4.24).
    Open pull requests that also change files under test/: Move the doctests into their own test group #35 Move the doctests into their own test group. The later one to merge rebases.

🤖 Generated with Claude Code

michakraus and others added 2 commits October 9, 2026 17:31
The test convention keeps a test file at the top level of test/ only
where it mirrors src/<name>.jl. Each moved file keeps its label and
group in test/runtests.jl.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both sides add an entry under [Unreleased] in CHANGELOG.md; both are kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.13%. Comparing base (01b10e1) to head (1d577a7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   91.13%   91.13%           
=======================================
  Files           9        9           
  Lines        1162     1162           
=======================================
  Hits         1059     1059           
  Misses        103      103           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@michakraus
michakraus merged commit a10547c into main Oct 9, 2026
12 of 13 checks passed
@michakraus
michakraus deleted the tests/toplevel-files branch October 9, 2026 16:48
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.

1 participant