DEV Community

Discussion on: Does your team write code tests for front-end code?

Collapse
 
jrohatiner profile image
Judith

Definitely, we do write test. I like selenium , too. I use the awesome extension they have in Firefox dev edition. Testing the FE code is just as important as user exp testing IMHO. Also, I really like using phantom with Angular, Jasmine with Karma as test runner. The output shows up via Jasmine's HTML reporter and that's nice too. Here is a link to a sample run:

stackblitz.com/edit/angular-yxk8rk

and here is a link to the tests:

angular.io/generated/zips/testing/...

This is a screenshot of the selenium extension:

selenium test suite ext

Enjoy!