Files
dryer/tests
Cursor AgentandRobert C. Martin f667ad03ba Skip Swift test files the way the other languages skip theirs.
A Swift package keeps tests in Tests/ and names them *Tests.swift.
Both were scanned as production code, so test helpers showed up as
duplicate candidates.

The suffix checks were one list already in spirit. Tests.swift joins
that list, and Tests joins the skipped directories. Folding the old
suffix branches into the list keeps the decision in one place.

Proved: test_a_swift_package_skips_its_tests failed while reporting
Sources/HiddenTests.swift and Tests/AppTests.swift, then passed with
only Sources/App.swift. The existing test-name suite still passed.
91 tests.

Co-authored-by: Robert C. Martin <[email protected]>
2026-11-25 23:35:40 +00:00
..