Affects Version/s: None
Component/s: Frontend Infrastructure
As we move to React, we need a clear testing strategy for teams. Some ongoing discussions are taking place at https://github.com/liferay/liferay-frontend-guidelines/issues/49 where several examples of existing tests are outlined.
The goal of this story is to:
- Come up with a standard setup that satisfies the needs of the teams to test their code in a quick and reliable way
- Provide the necessary infrastructure through npm-scripts to do so
- Document the guidelines and best practices associated with them
We have an ongoing conversation at Standardize testing strategy for React in the frontend-guidelines repo that contains some additional information and opinions.
Below is a crude and naïve list of react-based projects and their current testing dependencies