Bug (command: new): --skip-tests doesn't skip e2e
See original GitHub issueBug Report or Feature Request (mark with an x
)
- bug report -> please search issues before submitting
- feature request
Versions.
Angular CLI: 1.5.0
Node: 9.1.0
OS: darwin x64
Angular: 5.0.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.5.0
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.1
typescript: 2.4.2
webpack: 3.8.1
Repro steps.
Running
ng new testapp --skip-tests
would still see the e2e files and config files of karma and protractor
The log given by the failure.
N/A
Desired functionality.
It shouldn’t include the test files like these, should it?
Mention any other details that might be useful.
N/A
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How can I skip tests in maven install goal, while running them ...
This post explains how to skip integration tests, no matter what plugin ... Then add the skipTests property to the plugin section of...
Read more >Skipping Tests In Angular CLI - Upmostly
When creating your new project, simply pass the –skip-tests flag and “theoretically” it should skip *ALL* tests right?
Read more >Angular 9 Tutorial For Beginners #71- Skipping Tests in ...
Angular 9 Tutorial For Beginners #71 - Angular skipping tests in Testing Tutorial in Angular, angular skipping tests in testing, e2e testing ...
Read more >368722 – m2e Skip Tests does not skip when maven-surefire ...
I am unable to reproduce the problem. Please attach complete standalone maven project that works on command line with "mvn clean package -Dmaven ......
Read more >ng new - Angular
Option Description Value Type Default Value
‑‑commit Initial git repository commit information. boolean true
‑‑directory The directory name to create the workspace in. string
‑‑force Force...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We would love to see also a
skip-e2e
option, as we are rolling our own. What was the reason removing the already existing implementation?That’s a potential debate, but for what you’re looking for, consider using this:
This will create a new app with no test structures (spec files or dependencies) and will also inline both styles and templates.