Preventing Code Execution While Running Tests from CLI for Swift Package
Ideally, you would not require conditional logic in your production code to check if tests are running or the main app target is running. But, there are situations where you can't get around it in case of Integration tests or UI Tests.
There are vari...
javalnanda.com1 min read