Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SimonTestNew to Visual Studio Code? Get it now.

SimonTest

SimonTest

|
327,189 installs
| (17) | Free
Analyzes your Angular code and generates tests.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SimonTest

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.


I absolutely love it! It makes writing unit tests for your Angular code a lot easier where it generates all the boilerplate code for you and you just have to write the specific tests you need.

-A.M.


Want to learn the best practices for testing Angular components?

Check out the fully tested Tour of Heroes sample app with articles explaining how to test each component.

Automatically generate Angular tests

Right-click an Angular component to generate the test file:

image


Stubs all your dependencies

Never have to worry about hitting the real services:

image


Configure the TestBed based on your components

Let SimonTest deal with imports, providers, declarations, etc.

image


Creates tests based on your code

It keeps track of your method calls and generates tests based on it.

image

Stubs are ready for spying on them

SimonTest analyzes your code and figures out which service methods are used:

image

Create new component from HTML

Stop writing needless boilerplate every time you create a new component.

image


Questions & Issues

Report bugs/problems by creating an issue


SimonTest will save you time and effort so ask your company about getting a license. It comes with a 30 day trial. Licenses can be acquired at: https://gumroad.com/l/SimonTest. You can enter your license key by pressing Ctrl + Shift + P, then 'SimonTest: Update License' on VSCode.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft