forked from tuist/tuist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for selective testing for Xcode non-generated projects (t…
…uist#7287) * Add support for selective testing for Xcode projects not generated with Tuist * Update XcodeGraph * Update reference from xctest-dynamic-overlay to swift-issue-reporting in Package.resolved * Add xcode_project_with_tests to a list of fixtures * Add log for which test modules are skipped * Add Tuist.swift for the xcode_project_with_tests fixture * Override acceptance test case arguments for XcodeBuildCommand * Add logs for which targets were skippped only when some were
- Loading branch information
Showing
39 changed files
with
2,042 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Foundation | ||
import Mockable | ||
import TuistCore | ||
import XcodeGraph | ||
|
||
@Mockable | ||
public protocol SelectiveTestingServicing { | ||
/// - Returns: Tests that are cached. | ||
func cachedTests( | ||
scheme: Scheme, | ||
graph: Graph, | ||
selectiveTestingHashes: [GraphTarget: String], | ||
selectiveTestingCacheItems: [CacheItem] | ||
) async throws -> [TestIdentifier] | ||
} |
Oops, something went wrong.