integration tests

now browsing by tag

 
 

Taking a screenshot using Protractor and Selenium WebDriver

Here we learn to use Protractor with Selenium WebDriver providing the functionality to take screenshots. Update: Andrew Batz has kindly put together an NPM-installable package with the code in this article. Click here to check it out or download it using npm install screenshot-protractor As I work with SPAs (SingleRead More

AngularJS: testing services that use $resource

when you’re writing services that interact with the backend, you may need to break your service into two services to avoid mock objects. And this is okay!