Do You Know Mocha?

10 Questions | Attempts: 227
Share

SettingsSettingsSettings
Do You Know Mocha? - Quiz

Mocha is a JavaScript framework that features use of assertion library, browser support among others. It makes asynchronous testing a simple, flexible and exciting process.


Questions and Answers
  • 1. 
    Mocha was first released in 
    • A. 

      November 2011

    • B. 

      April 2011

    • C. 

      January 2011

    • D. 

      February 2011

  • 2. 
    JavaScript assertion libraries with which Mocha can be used are these except 
    • A. 

      Chai

    • B. 

      Express.js

    • C. 

      Should.js

    • D. 

      Unexpected.js

  • 3. 
    Mocha license is of what type
    • A. 

      MIT license

    • B. 

      Perpetual license

    • C. 

      Proprietary license

    • D. 

      BDS license

  • 4. 
    Mocha is written in 
    • A. 

      Scala

    • B. 

      Java

    • C. 

      JavaScript

    • D. 

      Python

  • 5. 
    The Mocha framework runs on 
    • A. 

      Npm

    • B. 

      Node.js

    • C. 

      JavaScript

    • D. 

      Better-assert

  • 6. 
    The Mocha most release was in
    • A. 

      October 2017

    • B. 

      April 2017

    • C. 

      March 2017

    • D. 

      January 2017

  • 7. 
    Concerning Mocha which of the following is odd?
    • A. 

      Test

    • B. 

      Function

    • C. 

      Install

    • D. 

      Report

  • 8. 
    Mocha can be described as 
    • A. 

      Test automation framework

    • B. 

      Open source resource

    • C. 

      Close source resource

    • D. 

      Autonomous framework

  • 9. 
    For asynchronous testing users need to 
    • A. 

      Install anti-testing

    • B. 

      Invoke callback

    • C. 

      Program test

    • D. 

      Interpret program function

  • 10. 
    Concerning the features of Mocha, which of these is odd?
    • A. 

      Browser supportĀ 

    • B. 

      Asynchronous testing

    • C. 

      Linting

    • D. 

      Test coverage reports

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.