Re:Jest not recommended to be used in Node.js due to instanc...
by stevebmark on Saturday July 01, 2023 @05:01PM
(#36555165)
The specific workflow for Jest I really enjoy:
- Opening an editor split with a terminal
- Running Jest in watch mode
- Using a pattern to pick specific test(s) at a time
- Editing tests and code to either fix bugs or add features, and watching the test quickly re-run every save
Specifically the watch interface of Jest, which seems pretty simple, is great. It's a joyful way to work on code. Any test runner that doesn't support this workflow is a nightmare. And I don't get why many test runners don't support this workflow, it seems pretty easy to implement.
- Opening an editor split with a terminal
- Running Jest in watch mode
- Using a pattern to pick specific test(s) at a time
- Editing tests and code to either fix bugs or add features, and watching the test quickly re-run every save
Specifically the watch interface of Jest, which seems pretty simple, is great. It's a joyful way to work on code. Any test runner that doesn't support this workflow is a nightmare. And I don't get why many test runners don't support this workflow, it seems pretty easy to implement.