withKnownIssue_tests_report.md
withKnownIssue ReportFound 203 test methods across 37 test files containing withKnownIssue blocks. Below is a detailed breakdown by test suite, platform constraints, and build system impacts.
withKnownIssue TestsBuildCommandTestCasesPlatform Constraints: Primarily Windows-specific issues Build Systems: All platforms support (Native, SwiftBuild, Xcode)
Key Tests:
importOfMissedDepWarning - Build Systems: SwiftBuild, Xcode - Platform: AllimportOfMissedDepWarningVerifyingErrorFlow - Build Systems: SwiftBuild, Xcode - Platform: Allsymlink - Build Systems: All - Platform: Windows onlybuildExistingExecutableProductIsSuccessfull - Build Systems: SwiftBuild only - Platform: Windows onlybuildExistingLibraryProductIsSuccessfull - Build Systems: SwiftBuild only - Platform: Windows onlyparseableInterfaces - Build Systems: SwiftBuild only - Platform: Windows onlybuildSystemDefaultSettings - Build Systems: SwiftBuild only - Platform: Windows onlyswiftGetVersion - Build Systems: Xcode, SwiftBuild, Native (release) - Platform: Windows or othersgetTaskAllowEntitlement - Build Systems: SwiftBuild, Xcode - Platform: Non-Linux onlyPluginTestsPlatform Constraints: Heavily Windows-focused issues Build Systems: All platforms support
Key Tests:
testUseOfBuildToolPluginTargetByExecutableInSamePackage - Build Systems: All - Platform: Windows onlytestUseOfBuildToolPluginTargetNoPreBuildCommands - Build Systems: Native (Windows CI), SwiftBuild (all) - Platform: MixedtestLocalAndRemoteToolDependencies - Build Systems: All - Platform: Windows onlytestIncorrectDependencies - Build Systems: SwiftBuild - Platform: Windows and Linux (CI)testTransitivePluginOnlyDependency - Build Systems: SwiftBuild only - Platform: Windows onlyTestCommandTestsPlatform Constraints: Mixed Windows and general platform issues Build Systems: All platforms support
Key Tests:
basicXCTestSupport - Build Systems: All - Platform: Windows onlylistTests - Build Systems: All - Platform: Windows onlytestableExecutableTests - Build Systems: All - Platform: General intermittentparallelTests - Build Systems: All - Platform: General intermittenttestDiscovery - Build Systems: All - Platform: General intermittentPackageCommandTestsPlatform Constraints: General intermittent issues and some Windows-specific Build Systems: All platforms support
Key Tests:
archiveSource - Build Systems: All - Platform: General intermittentdumpSymbolGraph - Build Systems: All - Platform: General intermittentCFamilyTargetTestsPlatform Constraints: General intermittent issues Build Systems: All platforms support
Key Tests:
testCLibraryTargets - Build Systems: All - Platform: General intermittenttestModuleMapGenerationCases - Build Systems: All - Platform: General intermittentDependencyResolutionTestsPlatform Constraints: Windows and general intermittent Build Systems: All platforms support
Key Tests:
testInternalSimpleTargets - Build Systems: All - Platform: General intermittenttestExternalSimpleTargets - Build Systems: All - Platform: General intermittenttestExternalBranchTargets - Build Systems: All - Platform: Windows specific for someResourcesTestsPlatform Constraints: General intermittent issues Build Systems: All platforms support
Key Tests:
testBasicResourceAccessibility - Build Systems: All - Platform: General intermittenttestResourcesInClangTargets - Build Systems: All - Platform: General intermittentModuleAliasingFixtureTestsPlatform Constraints: General intermittent issues Build Systems: All platforms support
Key Tests:
testDirectDeps1 - Build Systems: All - Platform: General intermittenttestNestedDeps1 - Build Systems: All - Platform: General intermittentTraitTestsPlatform Constraints: Mixed Windows and SwiftBuild issues Build Systems: All platforms support
Key Tests:
testBasicTraits - Build Systems: All - Platform: General intermittenttestConditionTraits - Build Systems: SwiftBuild, Xcode - Platform: Windows and othersTestDiscoveryTestsPlatform Constraints: Windows path issues Build Systems: All platforms support
Key Tests:
build - Build Systems: All - Platform: Windows onlydiscovery - Build Systems: All - Platform: Windows onlyasyncMethods - Build Systems: All - Platform: Windows onlyCoverageTestscodeCoverageBasic - Build Systems: All - Platform: General intermittentcodeCoverageFileReport - Build Systems: All - Platform: General intermittentRunCommandTestsswiftRunWithVerbosity - Build Systems: All - Platform: General intermittentswiftRunExecutable - Build Systems: All - Platform: General intermittentAPIDiffTeststestAPIDiffOfModuleWithCDependency - Build Systems: All - Platform: General intermittenttestAPIDiffOfVendoredCDependency - Build Systems: All - Platform: General intermittentSwiftSDKCommandTestsinstallationAndUsage - Build Systems: All - Platform: General intermittentPathTestsPlatform Constraints: Windows path handling issues Build Systems: N/A (Basic functionality tests)
Key Tests:
Windows-Specific Issues: ~60% of withKnownIssue tests
General Intermittent Issues: ~35% of tests
Other Platform-Specific: ~5% of tests
SwiftBuild: Most impacted build system
Native: Generally more stable
Xcode: Moderate impact
withKnownIssue blocks use when: clauses to specify platform or build system constraintsisIntermittent: true for CI stabilityWindows Support: Focus on improving Windows compatibility, especially for:
SwiftBuild Parity: Address feature gaps between SwiftBuild and native build system
CI Stability: Investigate and resolve intermittent failures to improve test reliability
Plugin System: Strengthen plugin system integration across all build systems
Test Infrastructure: Consider improving test isolation to reduce platform-specific issues
Report generated from analysis of 203 withKnownIssue test methods across 37 test files in the Swift Package Manager test suite.