ember.js - Can I use 'ember generate' to generate tests for existing 'objects'? -


i have ember eak project migrated ember cli, tests coded mocha/chai test runner don't run correctly in migrated project, though i've installed ember-cli-mocha. can use 'ember generate', mocha blueprints, generate new test stubs can go in , more or less re-implement had tests in eak?

so want use 'ember generate' generate tests existing routes, controllers & views, rather generating new stub objects , tests together.

yes, can indeed this, using ember generate blueprints of controller-test, route-test, etc.

ember generate controller-test my-resource 

this documented @ http://www.ember-cli.com/#appendix. ember-cli feature, not ember feature, covered in documentation former. additional information can obtained ember generate help.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -