Skip to content

(Feature Request) - ng generate test #6584

Closed
@AlanCrevon

Description

@AlanCrevon

Bug Report or Feature Request (mark with an x)

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

Versions.

@angular/cli: 1.1.0
node: 7.7.0
os: darwin x64
@angular/animations: 4.1.3
@angular/common: 4.1.3
@angular/core: 4.1.3
@angular/flex-layout: 2.0.0-beta.8
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/material: 2.0.0-beta.6-6aaddbf
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/platform-server: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.1.0
@angular/compiler: 4.1.3
@angular/compiler-cli: 4.1.3

OSX Sierra

The log given by the failure.

Desired functionality.

Could ng generate a test after a component was written ?
Something like ng g test to-test.component.ts could (over)write test, maybe even including required dependencies analyzing the component.

Thanks.
alan

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions