Skip to content

feature request: add a cleaner skip test option #7495

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zh99998 opened this issue Aug 24, 2017 · 2 comments
Closed

feature request: add a cleaner skip test option #7495

zh99998 opened this issue Aug 24, 2017 · 2 comments

Comments

@zh99998
Copy link

zh99998 commented Aug 24, 2017

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Desired functionality.

currently there is a --skip-test option to avoid generating spec files and a --minimal option to disable all unnecessary features.

but there isn't a proper way to turn off test feature.
if I want to create a project just without test, I have to:

1. create a project with --minimal
2. add .editorconfig, tslint.json, 
3. add tslint, codelyzer to devDependencies in package.json
4. delete inline style and inline template in angular-cli.json
5. git init

or

1. create a project with --skip-test
2. delete test related scripts from package.json
3. delete test related devDependencies from package.json
4. add many "spec": false to .angular-cli.json

both of them are complicated, all I want is just don't need test.

request to add a option to disable all test related features but keep other.

@Brocco
Copy link
Contributor

Brocco commented Aug 29, 2017

The options and abilities of the engine that generates files has recently been updated (see PR #7090) which will allow you to define your own structure/options.

Documentation for this will be coming with examples.

@Brocco Brocco closed this as completed Aug 29, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants