Skip to content

test(copyright): split detector test buckets#787

Merged
abraemer merged 3 commits intomainfrom
refactor/copyright-detector-tests-buckets
Apr 24, 2026
Merged

test(copyright): split detector test buckets#787
abraemer merged 3 commits intomainfrom
refactor/copyright-detector-tests-buckets

Conversation

@abraemer
Copy link
Copy Markdown
Collaborator

@abraemer abraemer commented Apr 24, 2026

Summary

  • split module-wide detector tests into semantic buckets for author pipeline, multiline repairs, copyright/holder pipeline, and parser internals
  • keep broad end-to-end detector coverage in src/copyright/detector/tests.rs while moving narrower clusters into adjacent module-wide files
  • prune redundant fixture-backed and parser scaffolding tests that were already covered elsewhere, reducing src/copyright/detector/tests.rs to 123 tests

Issues

  • None.

Scope and exclusions

  • Scope is limited to test organization under src/copyright/detector/
  • No production detector behavior changes
  • No golden fixture updates

Intentional differences from Python

  • None.

Follow-up work

  • If desired, do one final audit of the remaining broad end-to-end tests in src/copyright/detector/tests.rs, but there is no obvious remaining clean semantic bucket

Expected-output fixture changes

  • None.

Signed-off-by: Adrian Braemer <bradrian@gmail.com>
Signed-off-by: Adrian Braemer <bradrian@gmail.com>
Signed-off-by: Adrian Braemer <bradrian@gmail.com>
@abraemer abraemer merged commit 5498bda into main Apr 24, 2026
15 checks passed
@abraemer abraemer deleted the refactor/copyright-detector-tests-buckets branch April 24, 2026 16:16
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