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

Add unit test to project. #3

Open
TylerYang opened this issue Jan 9, 2016 · 0 comments
Open

Add unit test to project. #3

TylerYang opened this issue Jan 9, 2016 · 0 comments

Comments

@TylerYang
Copy link
Owner

When the basic code is becoming more and more stable(not now, of course), it's the right time to add the Unit Tests.
Consider following test framework,

  1. Mocha
  2. Jasmine
  3. Jest

And here is an interesting vote. According to the result. Seems most company choose the mocha. Not too much company would like to use Jest.

But what make me want to use Jest is, first of all, _FB_ invented it, and the next is, it is used to test react-* project. Such as _react-native_.

I used to use _Jasmine(For Angular project) and _Mocha(For NodeJS project), both of them are good enough. But _React_ + _ES6_ make everything different. Better to write some demo projects to try them out, for now I prefer to use _JEST_.

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

1 participant