- As application grows it becomes more difficult to develop because of slowing feedback loops
- Classic approach to tests conflicts with encapsulation
Please take a look at sample.
BTW nock can be very helpful.
Hit CTRL+SHIFT+'
and Tortor will provide values for variables mentioned in current scope.
As this extension is still in development the only way to enable it in your VS Code is to add --extensionDevelopmentPath={extensionFolder}
while starting it. More info
- Publish this in VS Code Extension Marketplace
global.tortor
regions should be dimmed for better readability
- With help of this extension you could validate your code with your test dataset while coding
- Extension could support bigger datasets and provide you insights instead of exact values
- Such an approach to tests could become a new normal