You are on page 1of 6

Node.

js

• Node.js is an open-source server framework that runs on a variety of platforms


including Windows, Mac OS X, Linux, and Unix.

• It is built on Google Chrome’s V8 JavaScript engine and has features like event-driven
and non-blocking I/O model, which makes it lightweight and efficient.

• In layman terms, Node.js is an ideal framework for developing server-side, data-


intensive, scalable web apps.
Key features of Node.js

• Open source – Node.js is free and completely open-source for anyone to download and use.

• Enhanced performance – The framework allows Node.js developers to perform non-blocking


operations, which enhances the performance of a web application.

• Server development – Node.js has incredible in-built APIs using which developers can easily make
different kinds of servers like DNS server, TCP server, HTTP server, and more.

• Unit testing – Node.js is blessed with a significant unit testing called Jasmine using which developers
can easily test written code.

• Scalability – You can scale a Node.js application in both Vertical and Horizontal way, helping you
improvise the performance.
Protractor

• By default uses Jasmine framework but can be used with Gherkin

• Allows cross browser runs with simple config file changes.

• Can be used with third party like Perfecto and Browser Stack.

• Test implementation written in same language as the application

• Protractor ( Wider variety operations and more props like binding, custom wait
statements, ng-repeater, ng-controller, ng-model ). Its a wrapper on Selenium.

• To use Protractor with non Angular Apps ( set browser.ignoresynchronisation = true;)


BDD Framework

• Cucumber.js – Java script implementation of Cucumber

• FeatureFile – Contains Test Scenarios written in Gherkin

• Node.js – JS Runtime built on Chrome V8 JS Engine

• Selenium – Portable automation Test Framework

• WebDriver – Set of APIS used for establishing communication with Browser


Node JS JRE

FeatureFile Cucumber Protractor Selenium WebDriver Browser

You might also like