Skip to content

ng new does not allow creation without any testing #11894

@LoganDark

Description

@LoganDark

Maybe I don't want or need tons and tons of unnecessary testing frameworks like Protractor, Karma, Jasmine, etc.

What do you think of an option to skip these? There's only an option to omit spec files at the moment, but a flag to skip all testing would be great for, for example, developers who want to use different testing frameworks, or (like me) no testing frameworks. (I prefer to do the testing by hand)

Right now, my solution is:

rm -rf e2e/ src/karma.conf.js src/*.spec.* tslint.json src/tslint.json .editorconfig src/test.ts
npm un --save-dev protractor karma karma-chrome-launcher karma-coverage-istanbul-reporter karma-jasmine karma-jasmine-html-reporter jasmine-core jasmine-spec-reporter @types/jasmine @types/jasminewd2 tslint codelyzer

It would be nice not to have these files generated in the first place and added to package.json.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions