---
title: "Discussion on \"Preventing Code Execution While Running Tests from CLI for Swift Package\" | Hashnode"
description: "Discussion on \"Preventing Code Execution While Running Tests from CLI for Swift Package\". Check if tests are running when executing tests from command line for a swift package"
url: "https://hashnode.com/posts/preventing-code-execution-while-running-tests-from-cli-for-swift-package/65b8bdec9aa2343748dcada9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Preventing Code Execution While Running Tests from CLI for Swift Package](https://javalnanda.com/preventing-code-execution-while-running-tests-from-cli-for-swift-package?utm_source=hashnode&utm_medium=feed)

Check if tests are running when executing tests from command line for a swift package

Jan 30, 2024 · 1 min read · javalnanda.com  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#ios](https://hashnode.com/tag/ios)
-   [#swift-package-manager](https://hashnode.com/tag/swift-package-manager)
-   [#swift](https://hashnode.com/tag/swift)

## Written by

[Javal Nanda](https://hashnode.com/@javalnanda)

@javalnanda · India

  
[View profile](https://hashnode.com/@javalnanda)

Mobile Application Developer

👋 Hi, I'm Javal Nanda, a Mobile Application Developer based in India. I've been in the world of mobile app development since 2010, and this blog is my space to share experiences and thoughts.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
