Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular JS - Best Way to UI Testing Angular js projects

I have written a site with angular js and I now want to create UI tests for this site (Automated UI Test) but I don't know the best way to do this. Is using a Visual Studio Coded UI Test Project a good way of writing these tests?

like image 489
Mehdi Haghshenas Avatar asked May 06 '26 07:05

Mehdi Haghshenas


2 Answers

Karma is a nice tool to run UI tests with .
It Supports angularJs and javascript and also has nice customization capacities . you can find out more about karma here

like image 166
arman radan Avatar answered May 09 '26 02:05

arman radan


It seems like you are looking for a way to test the application as a whole, the so-called end-2-end tests. If so, then I would recommend using protractor. Protractor is able to understand the Angular application that it tests so the results are highly trustworthy compared to other test suites.

check out: https://github.com/angular/protractor

like image 28
Walter Brand Avatar answered May 09 '26 02:05

Walter Brand



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!