Skip to content

Angular Jester is a Visual Studio Code extension that helps you generate Jest spec files for your Angular projects. It is designed to streamline your testing workflow and make it easier to ensure the quality of your Angular applications.

License

Notifications You must be signed in to change notification settings

mFontecchio/angular-jester

Repository files navigation

Angular Jester

This is a rework/compilation of angular-spec-generator & jest-test-gen. The only difference is some exctra stubbing to include services and methods for each type.

Please support the originals:

Features

Select an Angular *.ts file and use right click to generate the spec file.

Generate spec (jest / jasmine) files for Angular elements:

  • component
  • service
  • guard
  • resolver
  • directive
  • pipe
  • interceptor

Requirements

The extension works for files in an Angular project. The files should be named like this

  • .component.ts
  • .service.ts
  • .guard.ts
  • .resolver.ts
  • .directive.ts
  • .pipe.ts
  • .interceptor.ts

Known Issues

Some methods may not be found/included.

Release Notes

0.0.12

Fixed templating issue for methods.

0.0.10

Angular 16+ updates. Few enhancements. Check out CHANGELOG.md for more info.

0.0.5

First publication of extension.

0.0.2

Initial release of Angular Jester

About

Angular Jester is a Visual Studio Code extension that helps you generate Jest spec files for your Angular projects. It is designed to streamline your testing workflow and make it easier to ensure the quality of your Angular applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published