jasmine

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

Jasmine Testing Cheat Sheet

While the documentation for jasmine is great, sometimes all you need a cheat sheet to reference for the API. I found this jasmine testing cheat sheet to be very useful after doing lots of Python unit testing which doesn’t use the same API as jasmine at all. The cheat sheetRead 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!