SimonTest is an Angular test generator.
It takes care of the most tedious part of testing components and services: mocking dependencies. This extension analyzes your code and creates the necessary stubs, configures the TestBed, and it even generates basic tests.
If you don't like writing boilerplate code then this extension is for you.
Note: This is a paid extension. It comes with a 30 day trial. A license can be acquired at the product page: https://gumroad.com/l/SimonTest
You can enter your license key by pressing Ctrl + Shift + P, then 'SimonTest: Update License' on VSCode.
Automatically generate Angular tests
Right-click an Angular component to generate the test file:
Stubs all your dependencies
Never have to worry about hitting the real services:
Configure the TestBed based on your components
Let SimonTest deal with imports, providers, declarations, etc.
Creates tests based on your code
It keeps track of your method calls and generates tests based on it.
Stubs are ready for spying on them
SimonTest analyzes your code and figures out which service methods are used:
Create new component from HTML
Stop writing needless boilerplate every time you create a new component.
Questions & Issues
Report bugs/problems by creating an issue