Skip to content
ArjunDhar edited this page Apr 15, 2017 · 3 revisions

React Test frameworks

<style> disclaimer {color:#888;font-size:0.8em} todo {color:#FF7755; background-color:rgba(255, 255, 186, 0.72);} </style>

This page is in Mark Down (MD) format. You can choose a chrome plugin like Markdown Viewer to view this page with formating.
All content in this page is the Intellectual property of NeuroSystems Technologies Pvt. Ltd. Copyright 2017. You may refer to this page or keep it as long it bears this copyright.

Mocha

  • Performance

  • Community Support

  • Modular (extandabilty)

    • Chai assertion framework works with Mocha
    • FetchMock (Mock for services)
  • React Test framework

  • Shallow rendering

  • Karma : Test runner (runs with Gulp) -- Useful only for Web. See Advantages

Research

  • Shallow rendering
  • Default Test capabilities of React
  • Ankush to add Sample Test using Mocha, Chai, FetchMock, use shalow rendering, Karma. Check into /skippo/wiki/reactjs/samples and then update this doc samples section and provide link to sample package
  • http://phantomjs.org/

Sample(s)

Ankush to add

Dropped

Redux & Performance

http://redux.js.org/docs/faq/Performance.html

Clone this wiki locally