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

v3: Testing story #30

Open
ksaldana1 opened this issue Oct 4, 2018 · 0 comments
Open

v3: Testing story #30

ksaldana1 opened this issue Oct 4, 2018 · 0 comments
Milestone

Comments

@ksaldana1
Copy link
Contributor

Simply put--we need a better testing story. Although testing is theoretically possible, it is an enormous PITA and does not lend itself to a nice unit testing experience. To test a tiny isolated part, you have to build the world around it.

We made the trade-off of state being implicitly tied to Paths (better API & perf), while losing the fundamental testability of a pure function. I personally do not think this trade-off has been worth it.

In 3.0 we should re-evaluate our testing story and try to find a proper middle ground. We have spiked on the idea of memoizing the state stream to allow us to achieve testability while maintaining the performance benefits of the prior approach. There was issues with wiring up our composable apps with this approach, but I think it is still doable.

@ksaldana1 ksaldana1 added this to the 3.0 milestone Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant