Amsterdam, #PGDAY eu 2013
.. and im addicted to testing
unit and functional testing
test interfaces
function add(one, two) {
return one + two;
}
expect(add(1,2)).toEqual(3);
treat an entire application (or ui) as a single unit
describe('login', function() {
it('should give you an error with invalid username or password', function() {
browser.getElementByCssSelector('input#username', function(err, el) {
el.sendKeys('albert', function(err) {
// blahblahblah
});
});
});
});
Functionally test web, native and hybrid apps.. ON REAL (or fake) DEVICES!
Extension of Selenium on mobile devices
Appium implements the JSON Wire Protocol on iOS, Android, etc.
Appium doesn't modify your application binary
What your users get is what you test
omfg it moves!
demo gods be with me
Just use saucelabs.com!