Use .sortedKeys for JSONEncoder, so output is stable #2
GitHub Actions / Xcode test results
failed
Oct 30, 2023 in 0s
Xcode test results
Testing workspace swift-package-list with scheme SwiftPackageList-Package
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
24 | 23 | 1 | 0 | 0 | 0.58s |
Test Summary
SwiftPackageListCoreTests
- Device: Mac mini, 13.6 (22G120)
- SDK: macOS 13.3, 13.3
Test | Total | ||||
---|---|---|---|---|---|
FileTypeTests | 2 | 2 | 0 | 0 | 0 |
JSONGeneratorTests | 1 | 0 | 1 | 0 | 0 |
PDFGeneratorTests | 1 | 1 | 0 | 0 | 0 |
PackageResolvedTests | 3 | 3 | 0 | 0 | 0 |
ProjectTests | 2 | 2 | 0 | 0 | 0 |
PropertyListGeneratorTests | 1 | 1 | 0 | 0 | 0 |
SettingsBundleGeneratorTests | 5 | 5 | 0 | 0 | 0 |
SwiftPackageListObjcTests
- Device: Mac mini, 13.6 (22G120)
- SDK: macOS 13.3, 13.3
Test | Total | ||||
---|---|---|---|---|---|
SPLPackageListTests | 3 | 3 | 0 | 0 | 0 |
SwiftPackageListTests
- Device: Mac mini, 13.6 (22G120)
- SDK: macOS 13.3, 13.3
Test | Total | ||||
---|---|---|---|---|---|
PackageListTests | 3 | 3 | 0 | 0 | 0 |
swift-package-list-tests
- Device: Mac mini, 13.6 (22G120)
- SDK: macOS 13.3, 13.3
Test | Total | ||||
---|---|---|---|---|---|
ExecutionTests | 3 | 3 | 0 | 0 | 0 |
Failures
SwiftPackageListCoreTests/JSONGeneratorTests/testOutput()
File | /Users/runner/work/swift-package-list/swift-package-list/Tests/SwiftPackageListCoreTests/JSONGeneratorTests.swift:54 |
Issue Type | Assertion Failure |
Message | XCTAssertEqual failed: ("[{"license":"MIT","name":"test","repositoryURL":"https:\/\/github.com\/test\/test","revision":"xxxx","version":"1.0.0"}]") is not equal to ("[ { "revision" : "xxxx", "license" : "MIT", "name" : "test", "repositoryURL" : "https:\/\/github.com\/test\/test", "version" : "1.0.0" } ]") |
Details
Test Details
SwiftPackageListCoreTests
FileTypeTests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testOutputGenerator()
| |
testOutputURL()
|
JSONGeneratorTests
⏱️ | ||||
---|---|---|---|---|
0 (0%) | 1 (100%) | 0 (0%) | 0 (0%) | 0.10s |
testOutput()
|
PDFGeneratorTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.23s |
testOutput()
|
PackageResolvedTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testUnsupportedVersion()
| |
testVersion1()
| |
testVersion2()
|
ProjectTests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.02s |
testProject()
| |
testWorkspace()
|
PropertyListGeneratorTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testOutput()
|
SettingsBundleGeneratorTests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.02s |
testAcknowledgementsPlistOutput()
| |
testAcknowledgementsStringsOutput()
| |
testRootPlistOutput()
| |
testRootStringsOutput()
| |
testTestPlistPathOutput()
|
SwiftPackageListObjcTests
SPLPackageListTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testErrors
| |
testJSON
| |
testPropertyList
|
SwiftPackageListTests
PackageListTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testErrors()
| |
testJSON()
| |
testPropertyList()
|
swift-package-list-tests
ExecutionTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.20s |
testCommandExecution()
| |
testGenerateSubcommandExecution()
| |
testScanSubcommandExecution()
|
Annotations
github-actions / Xcode test results
Assertion Failure
XCTAssertEqual failed: ("[{"license":"MIT","name":"test","repositoryURL":"https:\/\/github.com\/test\/test","revision":"xxxx","version":"1.0.0"}]") is not equal to ("[
{
"revision" : "xxxx",
"license" : "MIT",
"name" : "test",
"repositoryURL" : "https:\/\/github.com\/test\/test",
"version" : "1.0.0"
}
]")
Loading