vendredi 9 septembre 2016

Generating unit-test skeleton from angular service / directive automatically?

Is it possible to create a skeleton for unit-tests of existing angular services / directives so all the dependencies get injected automatically?

It would be nice if it would create empty tests for all the methods inside my existing services / directives.

After some research I only found generators which create test files while creating the service itself but not of existing ones taking care of their methods..

Aucun commentaire:

Enregistrer un commentaire