{"id":84,"date":"2016-10-05T17:38:58","date_gmt":"2016-10-05T15:38:58","guid":{"rendered":"http:\/\/blog.via-internet.de\/?p=84"},"modified":"2016-10-05T17:38:58","modified_gmt":"2016-10-05T15:38:58","slug":"javascript-ecosystem","status":"publish","type":"post","link":"https:\/\/via-internet.de\/blog\/2016\/10\/05\/javascript-ecosystem\/","title":{"rendered":"JavaScript: Guide to the JavaScript Ecosystem"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Beginning &#8211; Libraries and Frameworks<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">UI<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Angular<\/li><li>Ionic<\/li><li>Onson UI<\/li><li>Framework 7<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Unit Testing<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Karma<\/li><li>Jasmine<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">End-to-End Testing<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"http:\/\/www.protractortest.org\/\">http:\/\/www.protractortest.org\/<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Technologies<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Unit Testing<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Protractor (http:\/\/www.protractortest.org\/)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Use npm to install Protractor globally with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">npm install -g protractor<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The webdriver-manager is a helper tool to easily get an instance of a Selenium Server running. Use it to download the necessary binaries with:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">webdriver-manager update<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now start up a server with:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">webdriver-manager start<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Install a demo repository:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">git clone https:\/\/github.com\/juliemr\/protractor-demo.git\nnpm install<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Update selenium driver<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">node_modules\/protractor\/bin\/webdriver-manager update<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Run server in background:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">node app\/expressserver.js &amp;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now run the tests<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">npm test <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Beginning &#8211; Libraries and Frameworks UI Angular Ionic Onson UI Framework 7 Unit Testing Karma Jasmine End-to-End Testing http:\/\/www.protractortest.org\/ Technologies Unit Testing Protractor (http:\/\/www.protractortest.org\/) Use npm to install Protractor globally with npm install -g protractor The webdriver-manager is a helper tool to easily get an instance of a Selenium Server running. Use it to download the necessary binaries with: Now start up a server with: Install a demo repository: Update selenium driver Run server in background: node app\/expressserver.js &amp; Now run the tests<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[38],"tags":[111,115],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-javascript","tag-javascript","tag-testing"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":0,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"wp:attachment":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}