Skip to content

Create mock generator #3

@mazerte

Description

@mazerte

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions