Test Driven Development

Test Driven Development

Professional Development

14 Qs

quiz-placeholder

Similar activities

Star Wars

Star Wars

8th Grade - Professional Development

12 Qs

CNC introduction

CNC introduction

Professional Development

13 Qs

BCS Network Security Test 2

BCS Network Security Test 2

University - Professional Development

18 Qs

Apple for my apple apple

Apple for my apple apple

KG - Professional Development

10 Qs

KUIS KE 2 SEMINAR NASIONAL KEFARMASIAN (HMPF-USB)

KUIS KE 2 SEMINAR NASIONAL KEFARMASIAN (HMPF-USB)

Professional Development

15 Qs

FUN 101 Week 3 Review Hardware

FUN 101 Week 3 Review Hardware

Professional Development

10 Qs

Principles of Electronic Communication ; A review

Principles of Electronic Communication ; A review

Professional Development

10 Qs

Introduction to central heating

Introduction to central heating

Professional Development

16 Qs

Test Driven Development

Test Driven Development

Assessment

Quiz

Instructional Technology

Professional Development

Practice Problem

Hard

Created by

Mohit Kanwar

Used 39+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the most basic type of developer level test?

Integration Test

Universal Test

Unit Test

Basic Test

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following does not help you write a unit test?

JUnit

Mockito

Lombok

PowerMock

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a desirable quality of "a unit test"?

Tests one property at one time

Fast

I/O or File Operations

Covering a small portion of code

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does @InjectMocks do?

Create an instance of test class

Create an instance of test class and inject any dependencies as Mocks

Inject Mocks in already created objects

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will help you identify unused dependencies in the code?

Unit Testing

Integration Testing

Static Code analysis

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is first stage of TDD?

Write Code

Write Test

Refactor

Execute Test

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the significance of writing a failing test?

We should not. We should focus on writing a test that passes

A failing test shows that some code change is required in our program. If it is not failing, no change required.

A failing test shows that the previous developer didn't do a good job.

A failing test gives you an opportunity to enhance code coverage

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?