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

Create mock generator #3

Open
mazerte opened this issue Apr 28, 2013 · 0 comments
Open

Create mock generator #3

mazerte opened this issue Apr 28, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@mazerte
Copy link
Owner

mazerte commented Apr 28, 2013

Create a CoffeeScript parse for generate automatic class mock for unit-test.

  • remove all unused import
  • create fake method (same name but return a static value)
  • rename the class (ex: AppView -> AppViewMock)

Usage:

  • yo footguard:mock class_path
  • yo footguard:mock all
  • yo footguard:mock update
  • yo footguard:mock update class_path
mazerte pushed a commit that referenced this issue Apr 30, 2013
@ghost ghost assigned mazerte Apr 30, 2013
mazerte pushed a commit that referenced this issue Apr 30, 2013
mazerte pushed a commit that referenced this issue Apr 30, 2013
mazerte pushed a commit that referenced this issue May 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant