Nodejs - Testing

Nodejs - Testing

Professional Development

15 Qs

quiz-placeholder

Similar activities

CPR_Quiz_Arrays and strings

CPR_Quiz_Arrays and strings

Professional Development

20 Qs

Accelerate Quiz 1

Accelerate Quiz 1

Professional Development

10 Qs

Cummins Student and Apprentice Programme

Cummins Student and Apprentice Programme

Professional Development

10 Qs

Interviews

Interviews

Professional Development

10 Qs

Quality Assurance

Quality Assurance

Professional Development

10 Qs

Operate Boom Lift

Operate Boom Lift

Professional Development

10 Qs

Jazz prepaid 1

Jazz prepaid 1

Professional Development

10 Qs

Product Quiz

Product Quiz

Professional Development

15 Qs

Nodejs - Testing

Nodejs - Testing

Assessment

Quiz

Professional Development

Professional Development

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?