Skip to content

Initialisation of store @main #410

Answered by stephencelis
bielikb asked this question in Q&A
Discussion options

You must be logged in to vote

Is this the right way to do so, though?

This is where we'd do it, for sure! Our demo apps are written to support iOS 13, so they don't demonstrate this, but we'll probably upgrade them sometime soon, and definitely by the next version of iOS.

Is there something that can be done towards gaining the testability of this main store?

Can you clarify what you mean by testability here and what kind of testability you would have outside TCA? Generally TCA testing is done via unit tests and the TestStore class, or snapshot tests will most likely focus more on a feature's View and not an application's entire App. I'm not aware of any guidance from Apple for testing Apps.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bielikb
Comment options

@lukeredpath
Comment options

Answer selected by bielikb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants