Nodejs - Testing

Nodejs - Testing

Professional Development

15 Qs

quiz-placeholder

Similar activities

Testing Integrity 2021-2022

Testing Integrity 2021-2022

Professional Development

11 Qs

Clinical Laboratory Personnel (NETI)

Clinical Laboratory Personnel (NETI)

Professional Development

10 Qs

CTFL_U1234190522a

CTFL_U1234190522a

Professional Development

20 Qs

CTAL-TA170322a

CTAL-TA170322a

Professional Development

17 Qs

CTFL-U1_180322a

CTFL-U1_180322a

Professional Development

10 Qs

CTFLU2-240322a

CTFLU2-240322a

Professional Development

10 Qs

MRJH DLA Quiz

MRJH DLA Quiz

Professional Development

14 Qs

CTFL-U12&3_010422a

CTFL-U12&3_010422a

Professional Development

14 Qs

Nodejs - Testing

Nodejs - Testing

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Daniel Adesoji

Used 12+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?