0% found this document useful (0 votes)
84 views

AngularJS Packaging and Testing

This document contains questions and answers related to testing frameworks and concepts in AngularJS development. It discusses tools like Grunt, Bower, Jasmine, Karma, Protractor and concepts like unit testing, end-to-end testing, and mocking services. Specific questions cover topics like installing and running tests, testing controllers, installing components with Bower, and using Protractor and webdriver-manager for testing.

Uploaded by

kashyap
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views

AngularJS Packaging and Testing

This document contains questions and answers related to testing frameworks and concepts in AngularJS development. It discusses tools like Grunt, Bower, Jasmine, Karma, Protractor and concepts like unit testing, end-to-end testing, and mocking services. Specific questions cover topics like installing and running tests, testing controllers, installing components with Bower, and using Protractor and webdriver-manager for testing.

Uploaded by

kashyap
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

S.

No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

21
Questions
Grunt Relies on
Grunt runs tasks using Temporary files which are disk I/O operations.
Which one of these is a Bower Concept?
In Package.json, to include the latest version we can use
app folder contains _____________________ and tests folder contains ______________________
This will act as a type of documentation because it describes the expected behavior of the functions and modul
When will you start writing the unit test?
To run the test, we have to type
What will be the output of the following snippet , if we pass 3e,5
The testing framework we have used in our course is
The E2E testing framework for AngularJS is
Protractor is built on top of
The following code is used to install protractor: npm install -g protractor
In AngularJS, a controller can be tested with
Bower is a new package manager for
The following is the syntax of installing a Component in Bower
Bower was introduced by engineers at:
Testing individual working part of a source code is called
This is all about splitting your code into small testable modules with each module having its own functionality
This one allows you to inject and mock angular services to help you test your application

The webdriver-manager can be used and the necessary binaries can be downloaded using
Answers
Both the options
1
Package
.symbol
script files, tests
Unit Testing
As soon as possible
karma start
invalid args
Jasmine
Protractor
WebDriverJS
Globally
Jasmine & Karma
Client side Components
bower install component-name
twitter
Unit testing
Unit testing
ngMock
1. webdriver-manager binary-update
2. webdriver-manager auto-update

You might also like