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

Added service generator for plop, code and unit test examples #224

Closed
wants to merge 16 commits into from

Conversation

thematho
Copy link

@thematho thematho commented Apr 22, 2017

Change log:

  • Refactor plop templates folders and config to be more flexible.
  • Added sinon to npm dependencies (spy, mock and stub library).
  • Service Generator:
    • Added Service Template with $http calls and test.
    • Added Services folder and module declaration to group common services.
    • Added Service code example.
    • Added Component using a the Service which uses $http code example.
    • Added Unit Test, mocks and stubs examples for handling service injection and $httpbackend.

Update 1

  • Added Filter generator with Unit Tests
    • Added Filter module and Filter example

Update 2

  • Added Factory Generator
  • Refactor plop configuration

Update 3

  • Added Directive Generator

TODO:

  • Update README.md file
  • Filters generator
  • Factory generator
  • Directive generator

Added Sinon to npm dependencies (spy, mock and stub library).
Added Service Template with $http calls and test.
Added Services folder and module declaration to wrap common services.
Added Service code example.
Added Component using a the Service which uses $http code example.
Added Unit Test, mocks and stubs examples for handling service injection and $httpbackend.
Added Filter module and Filter example
Added Factory templates and module.
Added directives module
More information added in order to explain the new Generators (Services, Factories, Directives, Filters).
Added Information for debug unit test.
@cooervo
Copy link

cooervo commented Jul 1, 2017

Why wasn't this merged??

@fesor
Copy link
Collaborator

fesor commented Jul 4, 2017

@cooervo I hope i will find some time before weekend to review and merge this PR.

@thematho looks good so far.

thematho and others added 5 commits July 5, 2017 00:20
Updated Generator's  messages to be more readable
Added code comments about Component's controller lifecycle hooks
@thematho thematho closed this by deleting the head repository May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants