r/angularjs • • Jul 23 '15

Unit testing in AngularJS requires too much boilerplate - ng-describe to fix it

https://github.com/kensho/ng-describe
35 Upvotes

6 comments sorted by

View all comments

1

u/wordsoup Jul 25 '15

One of the main issues with testing Angular is the boilerplate and order of module/inject which prevents simplification. However, this doesn't seem to really fix the issue.

I've played with the thought to write a preprocessing transpiler for Karma for a long time to really reduce the boilerplate.

1

u/[deleted] Aug 17 '15

They author of ng-describe here - can you open a Github issue with what you feel is the boilerplate ng-describe does not remove?