jeudi 17 mai 2018

What is the best way to test React/Redux applications?

I'm currently following a guide which uses mocha together with chai-jquery, however I have a gut feeling that this probably isn't the most common or most efficient (fast to run in a large application) approach.

I am looking for a React testing stack that is:

  1. Very commonly used
  2. Efficient
  3. Not overly complex to get started with

Is there a stack that is widely considered the best for React testing? (eg. Jest with Enzyme, or so I've read).

If this actually a heavily debated subject, what are the advantages/disadvantages of commonly used stacks?

Aucun commentaire:

Enregistrer un commentaire