SimonTestSimonTest 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.
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 testsRight-click an Angular component to generate the test file: Stubs all your dependenciesNever have to worry about hitting the real services: Configure the TestBed based on your componentsLet SimonTest deal with imports, providers, declarations, etc. Creates tests based on your codeIt keeps track of your method calls and generates tests based on it. Stubs are ready for spying on themSimonTest analyzes your code and figures out which service methods are used: Create new component from HTMLStop writing needless boilerplate every time you create a new component. Questions & IssuesReport 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. |