Skip to content

Auto generate tests for components and services #221

Closed
@jadjoubran

Description

@jadjoubran

As suggested by @kujtimiihoxha it would be nice if artisan ng:component auto generated a test file that has a sample ngDescribe file..
Also we can do the same for services
I'd also add that this can be disabled by a flag in config/generators.php

  • generate tests for component with correct ngDescribe
  • add 2 flags to config for tests: components & services
  • only generate component test if flag is enabled in config
  • add --no-spec support
  • generate tests for services with correct ngDescribe
  • only generate service test if flag is enabled in config
  • add --no-spec text
  • test
  • tag new release after Change dialog generator view from name.html to name.dialog.html #224
  • create remaining tests folder structure and add .gitkeep (after merging Implemented Karma Tests #219)
  • update dependency
  • publish new vendor

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions