Mocker
XCTAssertNoLeak
Our great sponsors
Mocker | XCTAssertNoLeak | |
---|---|---|
2 | 1 | |
1,063 | 363 | |
1.9% | - | |
5.8 | 1.8 | |
about 1 month ago | almost 2 years ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mocker
-
Looking for sources to learn advanced unit testing.
For mocking data you can use something like Mocker (https://github.com/WeTransfer/Mocker) which I’ve found to be pretty easy to get started with.
-
What is a mock network layer?
For future reference, there's this great library for mocking Alamofire or URLSession requests: Mocker
XCTAssertNoLeak
-
Looking for sources to learn advanced unit testing.
We recently implemented such test coverage, using XCTAssertNoLeak: https://github.com/tarunon/XCTAssertNoLeak You just have to pass an instance and it looks for a strong self.
What are some alternatives?
MockSwift - MockSwift is a Mock library written in Swift.
OHHTTPStubs - Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
Mockingbird - A Swifty mocking framework for Swift and Objective-C.
Nimble - A Matcher Framework for Swift and Objective-C
AutoMockable - AutoMocker is a Swift framework that leverages the type system to let you easily create mocked instances of your data types.
Erik - Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript.
Mockit - A simple mocking framework for Swift, inspired by the famous http://mockito.org/
QuizTrain - Swift Framework for TestRail's API
Mussel - A framework for easily testing Push Notifications and Routing in XCUITests
Kakapo - 🐤Dynamically Mock server behaviors and responses in Swift
SnapshotTest - Snapshot testing tool for iOS and tvOS