feat!: now services are AnyCodable to conform to DID specifications #8
GitHub Actions / Xcode test results
succeeded
Apr 16, 2024 in 0s
Xcode test results
Testing workspace peerdid-swift with scheme peerdid-swift
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
27 | 27 | 0 | 0 | 0 | 0.01s |
Test Summary
PeerDIDTests
- Device: Mac mini, 13.6.6 (22G630)
- SDK: macOS 14.0, 14.0
Test | Total | ||||
---|---|---|---|---|---|
CreatePeerDIDAlgo0Tests | 3 | 3 | 0 | 0 | 0 |
CreatePeerDIDAlgo2Tests | 5 | 5 | 0 | 0 | 0 |
DecodeEcnumbasisTest | 6 | 6 | 0 | 0 | 0 |
EncodeEcnumbasisTests | 6 | 6 | 0 | 0 | 0 |
ReselvePeerDIDAlgo2Tests | 4 | 4 | 0 | 0 | 0 |
ResolvePeerDIDAlgo0Tests | 3 | 3 | 0 | 0 | 0 |
Failures
All tests passed 🎉
Code Coverage
Coverage | Covered | Executable | ||
---|---|---|---|---|
PeerDID | 85.38 % | 397 | 465 | |
JSONEncoder+Helper.swift | 88.89 % | 8 | 9 | |
PeerDIDHelper+ResolveAlgo2.swift | 97.73 % | 86 | 88 | |
VerificationMaterialFormat.swift | 48.24 % | 41 | 85 | |
PeerDIDHelper.swift | 91.33 % | 179 | 196 | |
PeerDIDHelper+ResolveAlgo0.swift | 100.00 % | 15 | 15 | |
PeerDID.swift | 94.44 % | 68 | 72 | |
PeerDIDTests | 93.58 % | 991 | 1059 | |
PeerDIDHelper.swift | 91.33 % | 179 | 196 | |
CreatePeerDIDAlgo0Tests.swift | 100.00 % | 42 | 42 | |
ResolvePeerDIDAlgo0Tests.swift | 100.00 % | 53 | 53 | |
CreatePeerDIDAlgo2Tests.swift | 100.00 % | 146 | 146 | |
TestsHelpers.swift | 100.00 % | 7 | 7 | |
EncodeServiceTests.swift | 100.00 % | 127 | 127 | |
JSONEncoder+Helper.swift | 88.89 % | 8 | 9 | |
ResolvePeerDIDAlgo2Tests.swift | 100.00 % | 102 | 102 | |
PeerDIDHelper+ResolveAlgo2.swift | 97.73 % | 86 | 88 | |
PeerDID.swift | 94.44 % | 68 | 72 | |
VerificationMaterialFormat.swift | 48.24 % | 41 | 85 | |
DecodeEcnumbasisTests.swift | 100.00 % | 117 | 117 | |
PeerDIDHelper+ResolveAlgo0.swift | 100.00 % | 15 | 15 | |
Total | 91.08 % | 1388 | 1524 |
Details
Test Details
PeerDIDTests
CreatePeerDIDAlgo0Tests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testCreatePeerDIDAlgo0Base58Key()
| |
testCreatePeerDIDAlgo0JWKKey()
| |
testCreatePeerDIDAlgo0MultibaseKey()
|
CreatePeerDIDAlgo2Tests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testCreatePeerDIDAlgo2Base58()
| |
testCreatePeerDIDAlgo2JWK()
| |
testCreatePeerDIDAlgo2Multibase()
| |
testCreatePeerDIDAlgo2MultipleServices()
| |
testCreatePeerDIDAlgo2NoServices()
|
DecodeEcnumbasisTest
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
EncodeEcnumbasisTests
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testDecodeService()
| |
testDecodeServiceLegacy()
| |
testDecodeServiceWithExtensions()
| |
testEncodeService()
| |
testEncodeServiceExtensions()
| |
testEncodeServiceLegacy()
|
ReselvePeerDIDAlgo2Tests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testResolvePeerDIDAlgo2Base58()
| |
testResolvePeerDIDAlgo2JWK()
| |
testResolvePeerDIDAlgo2Multibase()
| |
testResolvePeerDIDAlgo2MultipleServices()
|
ResolvePeerDIDAlgo0Tests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testResolvePeerDIDAlgo0Base58()
| |
testResolvePeerDIDAlgo0JWK()
| |
testResolvePeerDIDAlgo0Multibase()
|
Loading