Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests #38

Closed
bizz84 opened this issue May 23, 2016 · 3 comments
Closed

Unit tests #38

bizz84 opened this issue May 23, 2016 · 3 comments

Comments

@bizz84
Copy link
Owner

bizz84 commented May 23, 2016

Need to devise a plan and add unit tests for this library as the feature set and the number of contributors has been increasing.

Ideally we could discuss proposed approach for test coverage here and then proceed to implementation.

@techprimate
Copy link

+1 but is it even possible to test Storekit using Unit Tests?
Wouldn't you have to reset the Simulator everytime after successful purchases?

@bizz84
Copy link
Owner Author

bizz84 commented May 24, 2016

In my view all relevant StoreKit classes could be stubbed out with property or constructor injection, so that all tests would be synchronous and not make any network calls.

@bizz84
Copy link
Owner Author

bizz84 commented Oct 12, 2017

Unit tests are being gradually added on a feature-by-feature basis.

Closing this issue.

@bizz84 bizz84 closed this as completed Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant