Repository navigation
Move the top-level test files that mirror no source file - #19
Merged
Merged
Conversation
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]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
=======================================
Coverage 85.71% 85.71%
=======================================
Files 3 3
Lines 98 98
=======================================
Hits 84 84
Misses 14 14 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
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>.jlfor a test ofsrc/<path>.jl, the directory of the sources for a test of several files of one directory, andtest/integration/for a test of the whole package. Each file keeps its label and group; only its path intest/runtests.jlchanges.test/defects.jltest/integration/defects.jlChecks
run-tests.jl liston this branch and onmain: labels and groups equal line for line; only the paths of the moved files differ.run-tests.jl full --jobs 4on this branch and onmain: both pass with the same totals over all files. Each moved file, run alone onmainat its old path and here at its new path, gives the same totals for its label (selected (defects.jl -> integration/defects.jl): Pass 12 Fail 0 Error 0 Broken 0 Total 12).test/integration/defects.jl: none (the file has no relative include orjoinpath(@__DIR__, ...)path).🤖 Generated with Claude Code