Skip to content
S

swift-protocol-di-testing

Protocol-based dependency injection for testable Swift code

by affaan-mFree

#421in AI Skills
0In stores

Description

swift-protocol-di-testing is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out protocol-based dependency…

Highlights

  • Small, focused protocols per dependency
  • Mocks for file system, network and iCloud
  • Deterministic tests with no I/O
  • Swift Testing examples

Ratings & Reviews

No ratings yet

Be the first to rate swift-protocol-di-testing.

People also visit

S

swift-testing-expert

Expert guidance for Swift Testing: test structure, #expect/#require macros

AI Skills
Get
S

swift-testing-pro

Writes, reviews, and improves Swift Testing code

AI Skills
Get
S

swift-expert

Builds iOS/macOS/watchOS/tvOS applications

AI Skills
Get
I

ios-swift-development

Develop native iOS apps with Swift

AI Skills
Get
S

swift-concurrency-expert

Swift Concurrency review and remediation for Swift 6.2+

AI Skills
Get
S

swift-concurrency-pro

Reviews Swift code for concurrency correctness, modern API usage

AI Skills
Get

swift-protocol-di-testing FAQ

What does the swift-protocol-di-testing skill do?

It guides an agent in hiding external dependencies behind focused Swift protocols, so the code can be tested with mocks and no real I/O.

What dependencies does it cover?

The file system, the network, iCloud and other external APIs.

What testing framework does it use?

Swift Testing.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill swift-protocol-di-testing

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best swift-protocol-di-testing alternatives?

Popular alternatives to swift-protocol-di-testing include swift-testing-expert, swift-testing-pro and swift-expert. See all swift-protocol-di-testing alternatives

Developer Stuff

Badges