As Nima-Waziri said, you should take a look at Karma to run unit tests in your application. This article will help you along the way.
Then, to run the e2e tests, the new runner developed by the Angular team is Protractor, and you can start with this demo: Protractor demo
To understand, these documents were very useful for me:
If you are going to work with AngularJS: you definitely should know about eggehead.io video! This one is a protractor. But, there are many video tutorials that are very interesting to teach you how to create an Angular app!
source
share