Test Driven Development

Test Driven Development

Professional Development

14 Qs

quiz-placeholder

Similar activities

Dy03-Data Application Quiz

Dy03-Data Application Quiz

Professional Development

18 Qs

Leson 10: Environments, CI/CD Tools

Leson 10: Environments, CI/CD Tools

Professional Development

10 Qs

Software Testing

Software Testing

University - Professional Development

11 Qs

TeacherVUE Leader Knowledge Test

TeacherVUE Leader Knowledge Test

Professional Development

9 Qs

SAP S4 Training 1

SAP S4 Training 1

KG - Professional Development

12 Qs

C# TOPIC NEW-2

C# TOPIC NEW-2

Professional Development

15 Qs

SAP ABAP POSTTEST

SAP ABAP POSTTEST

Professional Development

10 Qs

Computing Vocabulary

Computing Vocabulary

Professional Development

12 Qs

Test Driven Development

Test Driven Development

Assessment

Quiz

Instructional Technology

Professional Development

Hard

Created by

Mohit Kanwar

Used 39+ times

FREE Resource

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