If there is one feature compared to other JS framework that make AngularJS better, it is the ability to implement tests. This is normal I would say since the framework was developed by integrating this fundamental aspect at the beginning.
But AngularJS is not magic either, as anyone who has implemented tests know, it is important to think its code for testing. You have to be careful not using objects or methods without knowing whether they will be easily testable. For example, a controller, if in one of the calls are made there is DOM access via jQuery for example, this code immediately become complex to test.
Unfortunately, current tools do not allow us to make TDD as easily than with Java, when I writing a test the IDE will propose the creation of classes and methods. However, nothing prevents it.
Your new post is loading...