プロジェクト
GitHubで見る
typealiased/mockingbird
概要
SwiftとObjective-C向けのSwiftyなモックフレームワークです。
学習・教育計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
Mockingbird
Mockingbird makes it easy to mock, stub, and verify objects in Swift unit tests. You can test both Swift and Objective-C without writing any boilerplate or modifying production code.
Documentation
Visit MockingbirdSwift.com for quick start guides, walkthroughs, and API reference articles.
Examples
Automatically generating mocks.
$ mockingbird configure BirdTests -- --target Bird
Manually generating mocks.
$ mockingbird generate --testbundle BirdTests --target Bird --output Mocks.generated.swift
Using Mockingbird in tests.
// Mocking
let bird = mock(Bird.self)
// Stubbing
given(bird.canFly).willReturn(true)
// Verification
verify(bird.fly()).wasCalled()
Contributing
Please read the contributing guide to learn about reporting bugs, developing features, and submitting code changes.
License
Mockingbird is MIT licensed. By contributing to Mockingbird, you agree that your contributions will be licensed under its MIT license.
関連プロジェクトを探す
読み込み中…