Skip to content

Conversation

@mbernson
Copy link
Owner

@mbernson mbernson commented Feb 21, 2025

This PR converts all of the SwiftGit2 unit tests from Quick & Nimble to the new Swift Testing framework.

I've taken care to not change the logic, but only translate all the existing tests to equivalent Swift Testing tests. (Using Suites, #require, #expect, etcetera).

The large number of lines changes is only because there is one less level of indentation in the test specs now:

Before

class OIDSpec: QuickSpec {
    override class func spec() {
        // Tests
    }
}

After

@Suite("OID") class OIDSpec {
    // Tests
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants