Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

New NG Generate Option: Spec #16645

Closed
chopswil15 opened this issue Jan 11, 2020 · 2 comments
Closed

New NG Generate Option: Spec #16645

chopswil15 opened this issue Jan 11, 2020 · 2 comments

Comments

@chopswil15
Copy link

@chopswil15 chopswil15 commented Jan 11, 2020

馃殌 Feature request

Create a new Generate Option called spec
i have a big project where someone didn't create specs for unit testing and i don't want to do this manually

Command (mark with an x)

  • [X ] generate

Description

this new generate option would

  1. loop through all files in a folder
  2. for given file name of component, module, service, etc. it would check to see if a spec file exits
  3. if not then auto generate one

Describe the solution you'd like

in description

Describe alternatives you've considered

manually doing this would "work" but that sucks

@chopswil15

This comment has been minimized.

Copy link
Author

@chopswil15 chopswil15 commented Jan 11, 2020

oh, and for newly generated spec files add a comment in file file like "TODO: empty spec file" so i can easily find all these empty shell spec files

@alan-agius4

This comment has been minimized.

Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jan 11, 2020

Duplicate of #7727

@alan-agius4 alan-agius4 marked this as a duplicate of #7727 Jan 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can鈥檛 perform that action at this time.