tldr; You can test your Redux app by rendering it in node, simulating user interactions and verifying changes in state and markup. These tests are relatively easy to write, fast to run and give a lot of confidence.
Writing efficient software tests is a tricky balancing act. By efficiency, I don’t mean execution speed or resource consumption, but rather nailing the trade-off between the effort put into writing tests and the value they provide.
This is not a new or unknown problem. A lot of smart people pondered on it in the past, and established guidelines that can help developers tackle it. I’m a big believer in the
... read the whole story at hackernoon.com.