Establish front end test procedure for angular directives and controllers
Opened this issue · 2 comments
cchojnacki commented
Need to investigate how to test angular directives and controllers. Tests should be written for directives and controllers we are already using
sashajo commented
Some suggestions:
- Unit testing for directives : see http://angular-tips.com/blog/2014/06/introduction-to-unit-test-directives/
- E2E testing : https://github.com/angular/protractor
- Testing on various OSs and Browsers: hook protractor to SauceLabs : https://saucelabs.com/ . You can even test you local dev environemnt by installing saucelabs proxy client. Also after release to dev or rc site we can run all tests against those urls
sashajo commented
Proposal for Procedures:
- For each open issue, there should be an e2e test created in order to close an issue.
- We can use Selenium IDE to record steps to reproduce issue.
- Or use selenium builder to record and export into protractor http://sebuilder.github.io/se-builder/
- Or just write tests manually.