diegohaz / arc

React starter kit based on Atomic Design
https://arc.js.org
2.91k stars 295 forks source link

How do I have to write integration tests, if all children components should be mocked #321

Closed kimslava93 closed 6 years ago

kimslava93 commented 6 years ago

I've noticed that sub components are mocked, and I see the reason why, but I can't find a way to test business logic of my app. So what if I want to test end user actions with redux form, where sub components are applied? Should I ignore components mock somehow for it? Sorry if answer is obvious, but I really can't find a way in this situation...

diegohaz commented 6 years ago

You can do that with end-to-end tests. See testcafe.