Hello,
why sample data function is required ? and not optional ?
thanks.
To encourage better testing strategies 馃憤
@AsimNet Worst case:
var sampleData: NSData {
return NSData()
}
...But as @orta said, mostly for testing. You don't realize how great it is until you start writing your tests.
Are there any good examples of how people have setup testing for their apps?
The Ello iOS app makes very heavy use of sampleData https://github.com/ello/ello-ios
Woah - thank you for open sourcing @colinta 馃帀
Well it's way more than just me! The entire Ello team - from devs to marketing to leadership - were all very much a part of the decision to open source and the process that got us there.
So on behalf of everyone at Ello: happy to help!
OK to close?
Most helpful comment
Well it's way more than just me! The entire Ello team - from devs to marketing to leadership - were all very much a part of the decision to open source and the process that got us there.
So on behalf of everyone at Ello: happy to help!