Do You Have Advanced Knowledge Of Node.Js Testing?

10 Questions | Total Attempts: 588

SettingsSettingsSettings
Do You Have Advanced Knowledge Of Node.Js Testing? - Quiz

Let's face it: using Node. JS in your everyday programming life makes things a lot easier. Even better if you have advanced knowledge in this field! Say, how good are you with this type of testing? Are you an expert? Start this quiz and we'll see it!


Questions and Answers
  • 1. 
    What does your essential kit consist of? 
    • A. 

      A Testing Framework

    • B. 

      An Assertion Library

    • C. 

      Stubs

    • D. 

      All of the above

  • 2. 
    What does a testing framework provide you? 
    • A. 

      A database free to store your test results

    • B. 

      A clear and scalable bedrock for all of tests

    • C. 

      An error-screening tool

    • D. 

      A library of codes for you to use

  • 3. 
    Which framework is considered a gold standard? 
    • A. 

      Mocha

    • B. 

      Intern

    • C. 

      Chai

    • D. 

      Vows

  • 4. 
    Which one of these helps you to write tests? 
    • A. 

      Assertion folder

    • B. 

      Assertion file

    • C. 

      Assertion library

    • D. 

      Assertion collection

  • 5. 
    Which syntax style doesn't exist?
    • A. 

      Affirmative

    • B. 

      TDD

    • C. 

      BDD

    • D. 

      Assert

  • 6. 
    Which library should you use?
    • A. 

      Latte

    • B. 

      Tea

    • C. 

      Ruby

    • D. 

      Chai

  • 7. 
    Which function do you need to control in order stub and assert? 
    • A. 

      Replay

    • B. 

      Require

    • C. 

      Restart

    • D. 

      Record

  • 8. 
    Which one of these is a powerful mocking tool? 
    • A. 

      Rewire

    • B. 

      Review

    • C. 

      Restart

    • D. 

      Replay

  • 9. 
    What can't you do with Rewire? 
    • A. 

      Come up with new commands

    • B. 

      Set private variables

    • C. 

      Inject new code

    • D. 

      Replace old functions

  • 10. 
    What's the most important thing about your testing? 
    • A. 

      Detailed results

    • B. 

      Details

    • C. 

      Length

    • D. 

      Clarity

Back to Top Back to top