Nodejs - Testing

Nodejs - Testing

Professional Development

15 Qs

quiz-placeholder

Similar activities

Emerging Tech

Emerging Tech

Professional Development

15 Qs

FINAL QUIZ

FINAL QUIZ

Professional Development

10 Qs

BJT - BASICS

BJT - BASICS

Professional Development

15 Qs

Collocation

Collocation

Professional Development

18 Qs

TAE22 Orientation quiz

TAE22 Orientation quiz

Professional Development

10 Qs

Presentasi dan Follow Up

Presentasi dan Follow Up

Professional Development

10 Qs

contract law 3-elements

contract law 3-elements

Professional Development

20 Qs

Tools of KPI

Tools of KPI

Professional Development

10 Qs

Nodejs - Testing

Nodejs - Testing

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Medium

Created by

Daniel Adesoji

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is testing?

an activity to check whether the actual results match the expected results

an activity to check whether the expected results match the initial results

an activity to check whether the initial results match the actual results

none of the options

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a test runner?

to write test cases

to execute test cases

to set up mock data

to debug the code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which library/framework can we use to test out nodejs app

node-tester

testy-node

jest

node-jester

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

when using jest, what module can we use with it to test HTTP request and responses

supertest

requester

jest-request

test-request

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following command is used to run tests(test runner)

npm jest

npm test

npm runner

npm pretest

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

in Jest, what keyword is used to define a test case?

should

it

expect

describe

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

in Jest, what keyword is used to define a test suite?

should

it

expect

describe

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development