P
P
potapovD12016-05-25 10:37:25
Automation
potapovD1, 2016-05-25 10:37:25

ractjs/redux enzym + mocha test automation, where to start?

where to start automating reactjs/redux testing, after angular it’s not familiar at all, and I just can’t build autotests even for easy examples

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2016-06-16
@maxfarseer

Start with unit tests for the reducer and action creators. Well documented on page 1 of the documentation - redux.js.org/docs/recipes/WritingTests.html
Interface testing - not great at this, but enzym looks very cool, even better than the standard react tools for testing.
More recently, Hypernova
PS was released, you would have put the "react" tag on the question, there would have been more views. I didn't even know there was a redux tag on the toaster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question