Nodejs - Testing

Nodejs - Testing

Professional Development

15 Qs

quiz-placeholder

Similar activities

Test Security Scenario Questions

Test Security Scenario Questions

Professional Development

10 Qs

NodeJs: Cron jobs

NodeJs: Cron jobs

Professional Development

10 Qs

Testing Rules 2022

Testing Rules 2022

Professional Development

15 Qs

Map Training

Map Training

Professional Development

10 Qs

CTFL-U1_2_3_4-080422a

CTFL-U1_2_3_4-080422a

Professional Development

16 Qs

RDL1-Agile Testing

RDL1-Agile Testing

Professional Development

12 Qs

ISTQB-CTFLU1-2-3-4_220422a

ISTQB-CTFLU1-2-3-4_220422a

Professional Development

16 Qs

Test Automation and Future of Testing

Test Automation and Future of Testing

Professional Development

20 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?