-
Notifications
You must be signed in to change notification settings - Fork 3
Add tests #6
Comments
I'm not really sure how to test the cache persistence across versions. Looks like I would need to simulate a change in the CFBundleShortVersionString, and I don't know how to do that. @nodes-ios/developer-team any suggestions on this one? |
Look at how the cache compares versions. I think you should be able to manually change that in |
That is most likely because of the tests bundle. As a quick hack, swizzling the infoDictionary getter method of NSBundle with a custom implementation would work. Then you can easily control version numbers returned from your custom infoDictionary. |
Made PR for Cashier tests #13. NOPersistentStore ignored for the moment |
We have added some tests for NOPersistentStore in the Swift types tests. As always, tests can always be improved. But it's safe to close this issue now. |
Working on branch https://github.com/nodes-ios/Cashier/tree/mariusc-tests for Cashier tests
The text was updated successfully, but these errors were encountered: