mirror of
https://github.com/unclebob/crapper.git
synced 2026-11-26 18:18:49 +00:00
Current Xcode puts NameTests inside NameTests.xctest/Contents/MacOS. Older toolchains use PackageTests, and on Linux the .xctest file is the executable. swift_test_binary searches both, and prefers the directory from `swift build --show-bin-path` when that command prints one. Proved by the xctest bundle, Linux .xctest, show-bin-path preference, relative path, and fallback tests. The dSYM is still ignored. Co-authored-by: Robert C. Martin <[email protected]>