Unit Testing Best Practices in AngularJS
andyshora.com
Unit Testing Best Practices in AngularJS
1–10 of 17 posts
Re: Unit Testing Best Practices in AngularJS
#2Re: Unit Testing Best Practices in AngularJS
#3Reuseable declarative UI's through Directives, reuseable business logic throug Services and view models (controllers) having only knowledge of views is a really good for maintainablity of a complex javascript app. AngualrJS can beat any framework out there (Backbone, Ember, etc.) when it comes to having testable & manageable code.
If your product is going to be complex, AngularJS is a no-brainer deal.
Re: Unit Testing Best Practices in AngularJS
#4Re: Unit Testing Best Practices in AngularJS
#5Client side testable code is one of the pinnacle of AngularJS. Reuseable declarative UI's through Directives, reuseable business logic throug Services and view models (controllers) having only knowledge of views is a really good for maintainablity of a complex javascript app. AngualrJS can beat any framework out there (Backbone, Ember, etc.) when it comes to having testable & manageable code. If your product is going…
I realize this thread has me walking into the AngularJS den, but it is something i've been passively curious about.
Re: Unit Testing Best Practices in AngularJS
#6Client side testable code is one of the pinnacle of AngularJS. Reuseable declarative UI's through Directives, reuseable business logic throug Services and view models (controllers) having only knowledge of views is a really good for maintainablity of a complex javascript app. AngualrJS can beat any framework out there (Backbone, Ember, etc.) when it comes to having testable & manageable code. If your product is going…
I'm curious, is there a strong reason to chose AngularJS over other non JS frameworks. Say, Rails, Django, or one of the many other alternatives? I realize this thread has me walking into the AngularJS den, but it is something i've been passively curious about.
Re: Unit Testing Best Practices in AngularJS
#7Client side testable code is one of the pinnacle of AngularJS. Reuseable declarative UI's through Directives, reuseable business logic throug Services and view models (controllers) having only knowledge of views is a really good for maintainablity of a complex javascript app. AngualrJS can beat any framework out there (Backbone, Ember, etc.) when it comes to having testable & manageable code. If your product is going…
I'm curious, is there a strong reason to chose AngularJS over other non JS frameworks. Say, Rails, Django, or one of the many other alternatives? I realize this thread has me walking into the AngularJS den, but it is something i've been passively curious about.
Re: Unit Testing Best Practices in AngularJS
#8Client side testable code is one of the pinnacle of AngularJS. Reuseable declarative UI's through Directives, reuseable business logic throug Services and view models (controllers) having only knowledge of views is a really good for maintainablity of a complex javascript app. AngualrJS can beat any framework out there (Backbone, Ember, etc.) when it comes to having testable & manageable code. If your product is going…
I'm curious, is there a strong reason to chose AngularJS over other non JS frameworks. Say, Rails, Django, or one of the many other alternatives? I realize this thread has me walking into the AngularJS den, but it is something i've been passively curious about.
Angular and other front-end frameworks are great for responding to user interactions extremely quickly, because often you don't have to go back to the server. And in addition when it does need to interact with the server, it is often faster to respond because it doesn't need to fetch anything but JSON data.
But that data needs to come from somewhere. And that's where Rails/Django/Play/Symphony/whatever are used.
Re: Unit Testing Best Practices in AngularJS
#9Client side testable code is one of the pinnacle of AngularJS. Reuseable declarative UI's through Directives, reuseable business logic throug Services and view models (controllers) having only knowledge of views is a really good for maintainablity of a complex javascript app. AngualrJS can beat any framework out there (Backbone, Ember, etc.) when it comes to having testable & manageable code. If your product is going…
I'm curious, is there a strong reason to chose AngularJS over other non JS frameworks. Say, Rails, Django, or one of the many other alternatives? I realize this thread has me walking into the AngularJS den, but it is something i've been passively curious about.
That said, AngularJS can offload a lot of server side work. Mainly rendering views and the overall presentation layer. You can basically ditch your server side templating system and make your Rails, Django, PHP or node.js a simple REST API endpoint (with some additional auth system based on cookies or smth).
Re: Unit Testing Best Practices in AngularJS
#10It's built on top of WebDriverJS. I've been playing with it today and so far it's working very well.