This extension contains code snippets for common test driven development (TDD) functions that will speed up your testing and make it that much more enjoyable.
To install any extension, launch Command Pallette (Ctrl + Shift + P or Cmd + Shift + P) and type in Extensions. You will be shown 2 sections, 1) extensions already installed, 2) new extensions to install.
This code snippet extension brings many common test cases to your fingertips:
Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
TypeScript (.ts) [ES6+]
Here is the list of all snippets and how to trigger them. The → at the end means you need to press the TAB key.
'describe, set up test suite'
'beforeAll, set up initial values for all test cases'
'beforeEach, set up initial values for each test case'