Skip to content

Conversation

@iDylanK
Copy link

@iDylanK iDylanK commented Aug 20, 2025

Description:
When running tests with swift test, the process name is set to swiftpm-testing-helper.
Currently, the isTest check does not detect this case, which causes test-specific logic to fail under SwiftPM.
This PR updates the isTest check to also recognize swiftpm-testing-helper as a valid test process.

Changes:
Added process name check for swiftpm-testing-helper in isTest.

Why:
Ensures isTest works consistently when running tests both in Xcode and via Swift Package Manager.

Fixes:
#94

@iDylanK
Copy link
Author

iDylanK commented Dec 10, 2025

@hmlongco can you please have a look? Thank you!

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