Saturday 29 September 2018

Jasmine - Test Framework - Quiz - 1



 Let's test our Jasmine skill

 1. Jasmine was first released in

A.
2008
B.
2010
C.
2012
D.
2014




2. Jasmine was developed by 

A.
Pivotal Inc
B.
Pivotal Solutions
C.
Pivotal Labs
D.
Pivotal Company




3. Jasmine as a testing framework is  

A.
Open Source
B.
Close source
C.
Versatile
D.
Proprietary



4. Jasmine is written in what programming language?
A.
JavaScript
B.
Scala
C.
Python
D.
Java




5. How does Jasmine differs from Mocha? 
A.
presence of test doubles in Jasmine
B.
presence of command line utility in Mocha
C.
absence of command line utility in Mocha 
D.
readable syntax

6. Mocha Test framework uses

A.
Sinon for mock
B.
Chai for assertion
C.
Jasmine
D.
None


7. Which Of The Dialog Box Display a Message And a Data Entry Field 


A.

A.
Alert()
B.
Prompt()
C.
Confirm()
D.
Msg()



8. Name the TestBed method is used to create an Angular testing module which is used for creating module environment for testing the class?
A.
configureTestingModule
B.
createComponent



9. Name the utility is used to create an Angular testing module which can be used to create module environment for the class one wants to test?

A.
createComponent
B.
TestBed



10. ___ programming is programming with asynchronous data streams.
A.
Reactive
B.
Extreme




Looking for correct options?

Here are the answers:
1.B ; 2.C; 3.A ; 4.A ; 5.A ;6.A & B; 7.B; 8.A; 9.B; 10.A;


Jasmine Design by Test : Book available at Amazon.inFlip kart |, e-book @Pothi.com

Thank you!


Satender Kumar Mall
Twitter: @satenderiiit




No comments:

Post a Comment