-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
assertIssues and PRs related to the assert subsystem.Issues and PRs related to the assert subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
What is the problem this feature will solve?
It would be useful to have snapshot testing as part of the built-in test runner or assertion library.
I am aware of earlier work on this, specifically the inclusion and then removal of assert.snapshot
as per #44466 and #46112.
I'm wondering if there's a consensus that snapshot testing should not live in Node core or if you would be open to an implementation without the shortcomings of the earlier one.
What is the feature you are proposing to solve the problem?
I would propose an implementation in Node core, which would play well with the built-in test runner
What alternatives have you considered?
The only real alternative at the moment would be using a different testing framework. I haven't considered whether snapshot testing could be implemented as a standalone library though.
rinfield, jaw187, izaakschroeder, Israel-Laguan, eugene1g and 33 more
Metadata
Metadata
Assignees
Labels
assertIssues and PRs related to the assert subsystem.Issues and PRs related to the assert subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.