-
Notifications
You must be signed in to change notification settings - Fork 85
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
Investigate javascript + reactjs unit test framework #3084
Comments
Your issue doesn't follow our guidelines. Please fix the following:
Click here for details. Thank you! 🙏 |
Thank you, everything looks good now! |
Some good links on this subject: The second link states the best way to run unit tests in React is Mocha+Enzyme. I like the almost-no-configuration approach(Jest) |
I like jest, since it seems to be able to unit test both reactjs, and vanilla javascript. Could you find out how to integrate jest tests with travis ci. From quick skimming around, it seems istanbul is built into jest. What we'll need to find out, is how to integrate jest + istanbul into coverage reports for travis ci. |
I think in order to have multiple unit tests, we would have to converge all reports into a single Note: the badge associated with |
Good! |
Don't worry so much about the Travis initially. If you must, make sure whatever tool you use is compatible with a tool like coveralls. Jest should have a thing called Istanbul, which should play nice with coveralls. If that's the case, I can connect the report output from |
Closing this issue, since work will now be done in #3087. |
We need to research possible frameworks, to unit test our javascript, and reactjs scripts. The following are some possible options, though other may be equally considered:
Note: this issue is intended to simply investigate viable options, and lead to further issues, for actual implementation, of the corresponding unit test method.
The text was updated successfully, but these errors were encountered: