Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Mocha over Jest #657

Closed
rterysen-openroad opened this issue May 16, 2016 · 10 comments
Closed

Why Mocha over Jest #657

rterysen-openroad opened this issue May 16, 2016 · 10 comments

Comments

@rterysen-openroad
Copy link

I was curious as to why you made the move from jest to mocha?

@marod424
Copy link

marod424 commented Jul 2, 2016

I am also curious

@langpavel
Copy link
Collaborator

langpavel commented Jul 2, 2016

I have no opinion, I'm also curious why :-)
Seriously: This is starter kit, it is everybody choice to get best fits starter.
This is really starter kit, many of choices here can be switched.. If you want to cooperate you can. Make PR or make fork and write about it. Don't forget to mention this awesome source..

@marod424
Copy link

marod424 commented Jul 2, 2016

My curiosity stems from the fact that there was at one point a switch from jest to mocha. Did anything catalyze that switch? I am not advocating jest over mocha, I don't have the scope for such a decision. Rather, I was hoping to get some feedback from anyone that has experience with both testing frameworks.

@langpavel
Copy link
Collaborator

I understood. But I'm not interested in much. Follow creators of React and you give answers.

@cpojer
Copy link

cpojer commented Sep 27, 2016

Hey everyone!

We recently had two major Jest releases which significantly improve the framework and added snapshot testing. Please check out Jest 14.0: React Tree Snapshot Testing and Jest 15.0: New Defaults for Jest blogposts.

I'm happy to help anyone who wants to try out Jest. We have a support channel on discord :)

@jabacchetta
Copy link

Loving the new Jest — snapshot testing is a game changer.

@langpavel
Copy link
Collaborator

langpavel commented Jul 2, 2017

Hi. I'm seriously thinking about move to jest. Have anybody good resources or will be someone able to participate on new PR?
Please, continue on #1347

@piglovesyou
Copy link
Collaborator

@cpojer By reading this doc, it's confusing to know relation between Mocha and Jest in React Starter Kit. It's good time to maintain it, isn't it.
https://github.com/kriasoft/react-starter-kit/blob/master/docs/testing-your-application.md#testing-your-application

@langpavel
Copy link
Collaborator

jest is already in

@langpavel
Copy link
Collaborator

langpavel commented Feb 1, 2018

Documentation indeed needs improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants