-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Testing: Evaluate Jest alternatives #2757
Copy link
Copy link
Closed
Labels
FrameworkIssues related to broader framework topics, especially as it relates to javascriptIssues related to broader framework topics, especially as it relates to javascript[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.
Description
Previously: #1382
The ramifications of the Facebook patents grant decision extend beyond using React. In #1382, we ported from a Mocha test framework to using Jest. Jest is covered by the same patents grant:
https://github.com/facebook/jest/blob/master/PATENTS
Therefore, like React, we are in the position to be moving away from Jest. This could mean:
- Returning to Mocha
- Evaluating other options which provide similar benefits to Jest, as outlined in Tests: Setup Jest as an alternative test runner #1382
- Adopting the QUnit testing approach used elsewhere in core
This ought to be the topic of a JavaScript Core Slack meeting, though the next scheduled meeting will be occupied primarily by discussion of frameworks and hooks.
EDIT: react-test-renderer is another lib that has patent grant.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FrameworkIssues related to broader framework topics, especially as it relates to javascriptIssues related to broader framework topics, especially as it relates to javascript[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.
Type
Fields
Give feedbackNo fields configured for issues without a type.