Popularity
5.4
Growing
Activity
8.0
Growing
524
13
35

Description

SwiftyMocky is Lightweight, strongly typed framework for Mockito-like unit testing experience. As Swift doesn't support reflections well enough to allow building mocks in runtime, library depends on Sourcery, that scans your source code and generates Swift code for you.

The idea of SwiftyMocky is to mock Swift protocols. The main features are: - easy syntax, utilising full power of auto-complete, which makes writing test easier and faster - it DO support generics - mock implementations generation - a way to specify what mock will return (given) - possibility to specify different return values for different attributes - record stubbed return values sequence - verify, whether a method was called on mock or not - check method invocations with specified attributes - it works with real device

Monthly Downloads: 0
Programming language: Swift
License: MIT License
Tags: Framework     Swift     iOS     Testing     TDD / BDD     Unit Testing     Mock    

SwiftyMocky alternatives and related libraries

Based on the "TDD / BDD" category

Do you think we are missing an alternative of SwiftyMocky or a related project?

Add another 'TDD / BDD' Library

SwiftyMocky Recommendations

There are no recommendations yet. Be the first to promote SwiftyMocky!

Have you used SwiftyMocky? Share your experience. Write a short recommendation and SwiftyMocky, you and your project will be promoted on Awesome iOS.
Recommend SwiftyMocky

Recently added SwiftyMocky resources

Do you know of a usefull tutorial, book or news relevant to SwiftyMocky?
Be the first to add one!