You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should return the proper value for functionName', function(){
expect(scope.functionName('argument')).toBe('value');
});
E2E (Integration?) Testing
Test app as a user interacting with a browser
Dependancies are automatic as you're just hitting a url
Sure beats clicking links over and over in different browsers
Run via Protractor (Selenium plus angular magic)
Written in Jasmine
it('should have an h1 of proper size', function() {
browser.get('http://yoursite.whatever');
expect(element(by.binding('boundData')).getCssValue('fontSize')).toBe('21px');
});
Visual
Automatically generated screenshots compared to each other
easy to define
fast to run
PhantomCSS runs on PhantomJS enhanced with CasperJS