[feat]: Add CI workflow to run tests #44
Xcode test results
Testing workspace Networking with scheme Networking
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
32 | 27 | 5 | 0 | 0 | 6.77s |
Test Summary
NetworkingTests
- Device: Apple Virtual Machine 1, 14.2.1 (23C71)
- SDK: macOS 14.2, 14.2
Test | Total | ||||
---|---|---|---|---|---|
StatusCodeProcessorTests | 4 | 4 | 0 | 0 | 0 |
EndpointRequestStorageProcessorTests | 6 | 1 | 5 | 0 | 0 |
StoredResponseProviderTests | 3 | 3 | 0 | 0 | 0 |
AssociatedArrayQueryTests | 1 | 1 | 0 | 0 | 0 |
ErrorProcessorTests | 6 | 6 | 0 | 0 | 0 |
AuthorizationTokenInterceptorTests | 7 | 7 | 0 | 0 | 0 |
MultipartFormDataEncoderTests | 4 | 4 | 0 | 0 | 0 |
EndpointIdentifiableTests | 1 | 1 | 0 | 0 | 0 |
Failures
NetworkingTests/EndpointRequestStorageProcessorTests/testStoredDataForGetRequestWithImageResponse()
File | /Users/runner/work/ios-networking/ios-networking/Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift:208 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written". |
NetworkingTests/EndpointRequestStorageProcessorTests/testProcessCreatesCorrectFolder()
File | /Users/runner/work/ios-networking/ios-networking/Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift:119 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written". |
NetworkingTests/EndpointRequestStorageProcessorTests/testStoredDataForPostRequest()
File | /Users/runner/work/ios-networking/ios-networking/Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift:307 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written". |
NetworkingTests/EndpointRequestStorageProcessorTests/testStoredDataForGetRequestWithJSONResponse()
File | /Users/runner/work/ios-networking/ios-networking/Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift:154 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written". |
NetworkingTests/EndpointRequestStorageProcessorTests/testStoredDataForGetRequestWithErrorResponse()
File | /Users/runner/work/ios-networking/ios-networking/Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift:260 |
Issue Type | Assertion Failure |
Message | Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written". |
Code Coverage
Details
Test Details
NetworkingTests
StatusCodeProcessorTests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testNotHttpsURLResponse()
| |
testUnacceptableStatus1()
| |
testEmptyAcceptableStatuses()
| |
testUnacceptableStatus2()
|
EndpointRequestStorageProcessorTests
⏱️ | ||||
---|---|---|---|---|
1 (17%) | 5 (83%) | 0 (0%) | 0 (0%) | 0.00s |
StoredResponseProviderTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testUnableToLoadAssetError()
| |
testLoadingData()
| |
testUnableToConstructResponseError()
|
AssociatedArrayQueryTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testMultipleKeyParamaterURLCreation()
|
ErrorProcessorTests
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 6.24s |
AuthorizationTokenInterceptorTests
⏱️ | ||||
---|---|---|---|---|
7 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.51s |
MultipartFormDataEncoderTests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
test_encode_throwsFileAlreadyExists()
| |
test_encode_throwsInvalidFileUrl()
| |
test_encode_encodesDataAsExpected()
| |
test_encode_encodesToFileAsExpected()
|
EndpointIdentifiableTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testEqualIdentifiers()
|
Annotations
Check failure on line 208 in Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift
github-actions / macOS 13, Xcode 15.2 Test Results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written".
Check failure on line 119 in Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift
github-actions / macOS 13, Xcode 15.2 Test Results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written".
Check failure on line 307 in Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift
github-actions / macOS 13, Xcode 15.2 Test Results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written".
Check failure on line 154 in Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift
github-actions / macOS 13, Xcode 15.2 Test Results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written".
Check failure on line 260 in Tests/NetworkingTests/EndpointRequestStorageProcessorTests.swift
github-actions / macOS 13, Xcode 15.2 Test Results
Assertion Failure
Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Data was written".