swift-fakes icon indicating copy to clipboard operation
swift-fakes copied to clipboard

Test Doubles for Swift

Results 11 swift-fakes issues
Sort by recently updated
recently updated
newest added

Handrolling fakes is a pain. It would be awesome to be able to write: ```swift @AutoFake final class FakeThing: Thing {} ``` and have Swift just... generate the thing for...

In [Python's Mock](https://docs.python.org/3/library/unittest.mock.html), you can configure the `side_effect` property to return an array of values. If you do this, the mock will return those values one after another when called....

In [Python's Mock](https://docs.python.org/3/library/unittest.mock.html), you can configure the `side_effect` property to call a function when the mock is called. Spy should offer similar behavior.

If you try to apply a spy to a property, you're gonna have a bad time. Read-only properties are at least not terrible, because they behave like standard functions. ```swift...

Bumps [github.com/quick/nimble](https://github.com/Quick/Nimble) from 13.3.0 to 13.4.0. Release notes Sourced from github.com/quick/nimble's releases. v13.4.0 What's Changed Bump rexml from 3.2.6 to 3.2.8 by @​dependabot in Quick/Nimble#1143 BeLogical: fix retroactive conformance error....

dependencies
swift_package_manager

Bumps [github.com/quick/nimble](https://github.com/Quick/Nimble) from 13.3.0 to 13.5.0. Release notes Sourced from github.com/quick/nimble's releases. v13.5.0 What's Changed Bump rexml from 3.2.8 to 3.3.6 by @​dependabot in Quick/Nimble#1153 Basic swift testing support by...

dependencies
swift_package_manager

Bumps [github.com/apple/swift-docc-plugin](https://github.com/apple/swift-docc-plugin) from 1.3.0 to 1.4.3. Release notes Sourced from github.com/apple/swift-docc-plugin's releases. Swift-DocC-Plugin 1.4.3 What's Changed Fixes a bug with the experimental combined documentation feature where targets with multiple dependencies...

dependencies
swift_package_manager

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @​salmanmkc in actions/checkout#2248 Persist...

dependencies
github_actions

This PR makes minor improvements to the tutorial in DocC.

Bumps [github.com/quick/nimble](https://github.com/Quick/Nimble) from 13.7.1 to 13.8.0. Release notes Sourced from github.com/quick/nimble's releases. v13.8.0 Highlights requireFail now returns Never, indicating the status that it will always throw an error. (Thanks @​bnickel!)...

dependencies
swift_package_manager