# Running SwiftPM Tests inside project

**URL:** <https://forums.swift.org/t/running-swiftpm-tests-inside-project/62760>\
**Category:** Package Manager\
**Created:** [January 24, 2023, 1:23am UTC](https://forums.swift.org/t/running-swiftpm-tests-inside-project/62760 "2023-01-24T01:23:30Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![markturnip](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/markturnip/32/23088_2.png) [@markturnip](https://forums.swift.org/u/markturnip)\
**Post date:** [December 28, 2025, 12:36am UTC](https://forums.swift.org/t/running-swiftpm-tests-inside-project/62760/10 "2025-12-28T00:36:01Z")

</div>

Further to may last message, seems since Xcode 16 you can only include local package tests if it’s added as an alias as part of the Xcode project rather than a local package dependency.

Actually turned up back here relating to [Using Xcode Cloud to run Swift Package unit tests?](https://forums.swift.org/t/using-xcode-cloud-to-run-swift-package-unit-tests/52816), since using my last reply does not work for running Package unit test on Xcode Cloud.

---

_[View the full topic](https://forums.swift.org/t/running-swiftpm-tests-inside-project/62760)._
