Skip to content

Commit 09ceaeb

Browse files
committed
Fix tests build error
1 parent 1549f52 commit 09ceaeb

File tree

2 files changed

+27
-30
lines changed

2 files changed

+27
-30
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,33 @@ Then add `"Networking"` to your target dependencies.
289289

290290

291291

292+
## 🛣️ Planned Features
293+
294+
These enhancements are planned for future releases of `Networking` to further improve flexibility, control, and developer experience:
295+
296+
- 🪄 Simplified Request API
297+
Quick request execution using a default client instance for lightweight use cases.
298+
299+
- 🔄 Resumable Downloads
300+
Support for partial downloads and automatic resume handling across app launches or interruptions.
301+
302+
- 📤 Upload Task Support
303+
Upload data or files with progress tracking, cancellation, and retry support.
304+
305+
- 🏷️ Request Tagging
306+
Tag and categorize requests into logical groups for analytics, cancellation, debugging, and tracing.
307+
308+
- 🧪 Built-in Testing Support
309+
Tools for mocking, stubbing, and asserting requests and responses with zero boilerplate.
310+
311+
- 🔄 Request Execution & Prioritization
312+
Control request flow with custom executors, in-flight limits, and per-task priority that can escalate or drop dynamically.
313+
314+
- 📽 Request Recording & Playback
315+
Capture and replay real request traffic for debugging, offline development, and test validation.
316+
317+
318+
292319
## 📖 Documentation
293320

294321
The [documentation](https://swiftpackageindex.com/SwiftyJoeyy/swift-networking/main/documentation/networking) is provided by [swiftpackageindex](https://swiftpackageindex.com).

Tests/NetworkingClientMacrosTests/ClientMacroTests.swift

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -176,36 +176,6 @@ final class ClientMacroTests: XCTestCase {
176176
}
177177

178178
// MARK: - Validations Tests
179-
func testClientMacroFailsWithMissingSessionDeclaration() {
180-
let expectedDiagnostics = [
181-
DiagnosticSpec(
182-
message: ClientMacroDiagnostic.missingSessionDeclaration.message,
183-
line: 1,
184-
column: 1
185-
)
186-
]
187-
188-
assertMacroExpansion(
189-
"""
190-
@Client
191-
struct TestClient {
192-
init() { }
193-
}
194-
""",
195-
expandedSource: """
196-
struct TestClient {
197-
@NetworkingClient.ClientInit
198-
init() { }
199-
}
200-
201-
extension TestClient: NetworkingClient.NetworkClient {
202-
}
203-
""",
204-
diagnostics: expectedDiagnostics,
205-
macros: testMacros
206-
)
207-
}
208-
209179
func testClientMacroFailsWithUnexpectedSessionDeclaration() {
210180
let expectedDiagnostics = [
211181
DiagnosticSpec(

0 commit comments

Comments
 (0)