Search Your Question...!

AngularJS Packaging and Testing MCQ's

1.  Which one of these is a Bower Concept?

   View Answer   

   Package



2. The following is the syntax of installing a Component in Bower.

   View Answer   

   Bower install componenet name



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

   View Answer   

   Symbol



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

   View Answer   

   TRUE



5. Grunt Relies on.

   View Answer   

   Both the options



6. Bower was introduced by engineers at:

   View Answer   

   twitter



7. app folder contains _____________________ and tests folder contains ______________________.

   View Answer   

   Script Files, Tests



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

   View Answer   

   Unit Testing



9. When will you start writing the unit test?

   View Answer   

   ASAP



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

   View Answer   

   LinkedIn



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

   View Answer   

   ngMock



12. The testing framework we have used in our course is.

   View Answer   

   Jasmine



13. Testing an individual working part of a source code is called

   View Answer   

   Unit Testing



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

   View Answer   

   invalid args



15. The following code is used to install protractor "npm install -g protractor".

   View Answer   

   Globally



16. The E2E testing framework for AngularJS is

   View Answer   

   Protractor



17. protractor is built on top of.

   View Answer   

   WebdriverJS



18. Bower is a new package manager for

   View Answer   

   Client side comp



19. In AngularJS, a controller can be tested with

   View Answer   

   Karma, Jasmine



No comments:

Post a Comment