You are on page 1of 2

Which one of these is a Bower Concept?

Package

Grunt Relies on
Both the options

The following is the syntax of installing a Component in Bower


bower install component-name

Grunt runs tasks using Temporary files which are disk I/O operations.
True

Bower was introduced by engineers at:


twitter

In Package.json, to include the latest version we can use


.symbol

Bower is a new package manager for


Client side Components

----------------------------------------

When will you start writing the unit test?


as soon as possible

app folder contains and tests folder contains _


script files, tests

This will act as a type of documentation because it describes the expected behavior
of the functions and modules.
Unit Testing

This one allows you to inject and mock angular services to help you test your
application
ngMock

This is all about splitting your code into small testable modules with each module
having its own functionality and level of abstraction.
linkedIn

----------------------
The testing framework we have used in our course is
Jasmine

Testing an individual working part of a source code is called


Unit testing

To run the test, we have to type


karma start

What will be the output of the following snippet , if we pass 3e,5

vm.add = function(a,b){
if(typeof a !== 'number' || typeof b !== 'number'){
return 'invalid args';
}
return a+b;
}
invalid args
----------------------------------------------------------------------------------
The following code is used to install protractor

npm install -g protractor


Globally

The E2E testing framework for AngularJS is


Protractor

Protractor is built on top of


WebDriverJS

In AngularJS, a controller can be tested with


Jasmine & Protractor

Protrator & Karma xx

Jasmine & Karma

None of the options

The webdriver-manager can be used and the necessary binaries can be downloaded
using
webdriver-manager binary-update xxx
webdriver-manager update-binaries
webdriver-manager update-binary
webdriver-manager auto-update
webdriver-manager update

You might also like