1.3.1 • Published 5 years ago

specgen v1.3.1

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

#specgen Angular - Jasmine Unit Testcase Spec file Generator

This npm module helps to generate the unit testcase spec file with its skeleton structure and basic coverage of unit test cases. Its saves development time spent in writing the angular basic unit test cases with coverage of 30 to 40%.

Install

$ npm install -g specgen # to run this command anywhere

Run

$ specgen my.component.ts $ specgen my.directive.ts $ specgen my.pipe.ts $ specgen my.service.ts

How It Works

  1. Run - specgen my.component.ts
  2. It generates spec file in same folder with the naming convention 'my.component.spec.ts' for the first time
  3. If spec file already generated with the same file name then the updated spec file generated with the timestamp appended to it as
    my.component.spec.YYYMMDDHHMM.ts
1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago