Junit Quiz

Junit Quiz

Professional Development

14 Qs

quiz-placeholder

Similar activities

Menus, Dialog Boxes and Methods

Menus, Dialog Boxes and Methods

10th Grade - Professional Development

17 Qs

Mech 3

Mech 3

Professional Development

10 Qs

FORMATIVE ASSESSMENT 2 OOPS

FORMATIVE ASSESSMENT 2 OOPS

Professional Development

15 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

Java Displaying Data & Data Types

Java Displaying Data & Data Types

University - Professional Development

12 Qs

JAVA QUIZ

JAVA QUIZ

Professional Development

11 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

DOT NET-SET1

DOT NET-SET1

Professional Development

15 Qs

Junit Quiz

Junit Quiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Jegathesh C1291

Used 49+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following describes Testing correctly?

A - Testing is the process of checking the functionality of the application whether it is working as per requirements.

B - Testing is the testing of single entity (class or method).

C - Both of the above.

D - None of the above.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following class contains methods to collect the results of executing a test case?

A - Assert

B - TestCase

C - TestResult

D - TestSuite

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following annotation causes that method run once after all tests have finished?

A - @Test

B - @After

C - @BeforeClass

D - @AfterClass

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following method of Assert class checks that an object is null?

A - void assert(Object object, boolean toCheckAsNull)

B - void assertCheck(Object object, boolean toCheckAsNull)

C - void assertNull(Object object)

D - void assertChecks(Object object, boolean toCheckAsNull)

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following method of TestResult class gets the number of detected failures?

A - int error()

B - int errorCount()

C - int failureCount()

D - int failure()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

@RunWith and @Suite annotation are used to run the suite test.

A - false

B - true

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Automated Test cases are executed by using automation tool so less tester are required in automation testing.

A - true

B - false

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?