---
title: "Discussion on \"Adding test target to Swift Package (--type executable)\" | Hashnode"
description: "Discussion on \"Adding test target to Swift Package (--type executable)\". How to add test target to a swift package of type executable."
url: "https://hashnode.com/posts/adding-test-target-to-swift-package-type-executable/65b13a5f1a152308aaa069a4"
---

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

Discussion

# [Adding test target to Swift Package (--type executable)](https://javalnanda.com/adding-test-target-to-swift-package-type-executable?utm_source=hashnode&utm_medium=feed)

How to add test target to a swift package of type executable.

Jan 24, 2024 · 3 min read · javalnanda.com  
Updated Feb 27, 2024  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#spm](https://hashnode.com/tag/spm)
-   [#swift-package-manager](https://hashnode.com/tag/swift-package-manager)
-   [#command-line-application](https://hashnode.com/tag/command-line-application)
-   [#cli](https://hashnode.com/tag/cli)
-   [#command-line](https://hashnode.com/tag/command-line)
-   [#testing](https://hashnode.com/tag/testing)
-   [#test-automation](https://hashnode.com/tag/test-automation)
-   [#ios](https://hashnode.com/tag/ios)

## 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

[Roy Michael](https://hashnode.com/@Roymicheal)

[Jan 24, 2024](https://hashnode.com/posts/adding-test-target-to-swift-package-type-executable/65b13a5f1a152308aaa069a4/comment/65b13d788f7f2c766173366c)

Having a genuine trader to guide you on your investment is the best decision to make, if you're looking for a genuine trader to guide you on your investment look no further than adelynn\_richardson.fx at lñstagràm I'm making a huge profits through her mentorship
