TEST in Javascript frontend app ? Focus (React JS) - AnalyticsWorkbench/UI GitHub Wiki

General view about testing, choice framework for AnalyticsWorkbench

If you heard about testing your assumptions would be like this testing pyramid:

screenshot 2018-11-29 14 17 20

however, here is what going no JS Testing world. Static analyses > Jest test > E2E tests number of tests we need to cover our probable errors. screenshot 2018-11-29 14 18 01

what is our starting target about to test if our components and Modules in AW UI are showing correctly or not, that why we need E2E testing . to achieve this goal we need web driver.

__"E2E test won't tell what failed exactly; it just tells that sth is wrong with our application."

E2E features

  1. Very slow
  2. Unreliable
  3. It hard to know what causes the failure

Resource : https://www.youtube.com/watch?v=veb-xTGZulY