Behavioral Testing in React and Redux

Behavioral Testing in React and Redux

Re-examining the unit test.

In traditional object-oriented design, writing a “unit test” means instantiating your class and testing each method one by one, usually mocking out all other dependencies in the system. In a React application following the Flux architecture, the basic assumptions about what a unit test is changes. I will examine the architectural principles enabling this paradigm shift, and what testing in a React/Redux can look like.


Ryan Oglesby

October 11, 2017