Contents

DevKitOrganization/DevTesting

A small Swift 6 package that contains useful additions for writing tests with Swift Testing

Development Requirements

DevTesting requires a Swift 6.2+ toolchain to build. We only test on Apple platforms. We follow the [Swift API Design Guidelines][SwiftAPIDesignGuidelines]. We take pride in the fact that our public interfaces are fully documented and tested. We aim for overall test coverage over 99%.

[SwiftAPIDesignGuidelines]: https://swift.org/documentation/api-design-guidelines/

Development Setup

To set up the development environment:

1. Run Scripts/install-git-hooks to install the pre-push hook that automatically checks code formatting before pushing. 2. Use Scripts/lint to manually check code formatting at any time. 3. Use Scripts/format to auto-fix code formatting issues.

Continuous Integration

DevTesting uses GitHub Actions for continuous integration. The CI pipeline:

- Linting: Automatically checks code formatting on all pull requests using swift format - Testing: Runs tests on iOS, macOS, tvOS, and watchOS - Coverage: Generates code coverage reports using xccovPretty

Bugs and Feature Requests

Find a bug? Want a new feature? Create a GitHub issue and we’ll take a look.

License

All code is licensed under the MIT license. Do with it as you will.

Package Metadata

Repository: DevKitOrganization/DevTesting

Stars: 2

Forks: 0

Open issues: 0

Default branch: main

Primary language: swift

License: MIT

Topics: swift, testing

README: README.md