Skip to content
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

Auto generate tests for components and services #221

Closed
12 tasks done
jadjoubran opened this issue Mar 26, 2016 · 1 comment
Closed
12 tasks done

Auto generate tests for components and services #221

jadjoubran opened this issue Mar 26, 2016 · 1 comment
Assignees
Milestone

Comments

@jadjoubran
Copy link
Owner

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
@shiruken1
Copy link
Contributor

Awweeesome! I would really appreciate this, because I still can't make
heads or tails of Angular testing.

Thanks @kujtimiihoxha !
On Mar 26, 2016 6:25 AM, "Jad Joubran" notifications@github.com wrote:

As suggested by @kujtimiihoxha https://github.com/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


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#221

@jadjoubran jadjoubran self-assigned this Mar 26, 2016
@jadjoubran jadjoubran changed the title Auto generate tests for components Auto generate tests for components and services Mar 26, 2016
jadjoubran added a commit to jadjoubran/laravel-ng-artisan-generators that referenced this issue Mar 26, 2016
turtle220 added a commit to turtle220/laravel5-angular-generator that referenced this issue Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants