目录
目录README.md

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.

关于
45.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号