Lee Blazek
(By day)
Angular, Mean Stack, Front-end, Node api's, with a side of iOS
(By Night)
Building apps/api's for public and canvaser's
Colorado Care
Amendment 69
on the November 2016
"Health Care is a Human Right,
not a commodity to be bought, sold, and traded!!"
Protractor is an end-to-end test framework for AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Protractor is built on top of WebDriverJS, which uses native events and browser-specific drivers to interact with your application as a user would
Tests test your whole stack from the browser thru server to database. And that includes the network connection.
It is NOT a unit test, DON'T expect it to be like unit tests
Cordova is a way that JS can access native device capabilities like push notifications, camera, contacts, etc.
It does this thru plugins - so one JS command is the same in all devices.
BUT
there has to be corresponding native code written per device platform in the native language per platform.
"The StatusBar object provides some functions to customize the iOS and Android StatusBar."
Its really good for smoke testing
Good making sure all of the parts(front-end, UI, server, database work together)
Good when doing large refactors, or framework updates
Protractor is an end-to-end test framework for AngularJS applications. Protractor is a Node.js program that supports the Jasmine and Mocha test frameworks.
Selenium is a browser automation framework. Selenium includes the Selenium Server, the WebDriver APIs, and the WebDriver browser drivers.
Protractor works in conjunction with Selenium to provide an automated test infrastructure that can simulate a user’s interaction with an Angular application running in a browser or mobile device.
| native apps |
mobile website | responsive website | desktop | |
|---|---|---|---|---|
| initial load | slow | fast | fast | fast |
| subsequent loads | fast | slow | slow | fast |
| gesture nav | yes | yes | no | no(well maybe windows now) |
| offline | yes | possible | no(maybe) | no |
| push notify | yes | no | no | safari only |
| UX | great | better | okay | good on desktop |
| User expectations | high | medium | medium | high |
SVG's
Icon fonts
BUT!!
Make sure you design it with flat design so you can do that. And you may have to explain that to clients if they want to influence or provide designs