@@ -13,6 +13,9 @@ MicroClient is a lightweight, zero-dependency Swift networking library designed
1313# Build the package
1414swift build
1515
16+ # Run tests
17+ swift test
18+
1619# Run SwiftLint (comprehensive ruleset with 61+ rules)
1720swiftlint
1821
@@ -64,11 +67,18 @@ Sources/MicroClient/
6467├── NetworkRequest.swift # Request model
6568├── NetworkResponse.swift # Response wrapper
6669├── NetworkConfiguration.swift # Configuration
67- ├── Types.swift # Core enums and utilities
70+ ├── HTTPMethod.swift # HTTP method enumeration
71+ ├── NetworkClientError.swift # Error types
72+ ├── NetworkClientStatus.swift # Client status enumeration
73+ ├── URLFormItem.swift # Form data item type
74+ ├── Responses/
75+ │ ├── VoidRequest.swift # Empty request type
76+ │ └── VoidResponse.swift # Empty response type
6877└── Extensions/
6978 ├── URLRequest.swift # Request building logic
7079 ├── URLComponents.swift # URL construction
7180 ├── URLResponse.swift # Response utilities
81+ ├── URLSessionProtocol.swift # URLSession protocol abstraction
7282 └── Unwrap.swift # Utility functions
7383```
7484
@@ -101,14 +111,14 @@ See README.md for detailed usage examples and API documentation.
101111## Development Patterns
102112
103113### Testing Structure
104- Future test implementation will include :
114+ The project includes comprehensive tests with :
105115- ** Unit tests** : Test individual components in isolation
106116- ** Integration tests** : Test interactions between modules
107117- ** Mock objects** : ` *Mock.swift ` files provide test doubles
108118- ** Test fixtures** : ` *Mother.swift ` files provide test data builders
109119
110120### Unit Testing Guidelines
111- Future tests will use ** Apple's Swift Testing framework** (` import Testing ` ) with the following conventions:
121+ Tests use ** Apple's Swift Testing framework** (` import Testing ` ) with the following conventions:
112122
113123#### Test Structure and Organization
114124- Tests are organized using ` @Suite("Suite Name") ` to group related test cases
0 commit comments