Swiftpack.co - neallester/swift-log-testing as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by neallester.
neallester/swift-log-testing 0.0.1
A thread safe swift-log LogHandler for use in application testing
⭐️ 3
🕓 4 years ago
.package(url: "https://github.com/neallester/swift-log-testing.git", from: "0.0.1")

swift-log-testing

Logs are first class system outputs; system administrators often depend on their reliability in production. Test Swift applications and libraries to ensure they emit the expected log entries. This Swift package provides a swift-log LogHandler for use during application testing.

To declare the dependency in Package.swift:

.package(url: "https://github.com/neallester/swift-log-testing.git", from: "0.0.0"),

then (typically) add the dependency to the testing target:

.testTarget(name: "YourAppNameTests", dependencies: ["SwiftLogTesting"]),

See the example for details on how to use swift-log-testing in tests.

Status

This package is currently beta. Breaking changes will be indicated by incrementing the MINOR version number (0.X) until the 1.0 major version is released.

GitHub

link
Stars: 3
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics