Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Which of the following defines the stopping rule for a test? a. Coverage b. Intra-method testing c. Intra-class testing d. Class testing 2) Which

1) Which of the following defines the stopping rule for a test?

a. Coverage

b. Intra-method testing

c. Intra-class testing

d. Class testing

2) Which of the following is used to test a class?

a. Module testing

b. Unit testing

c. Method testing

d. All

3) RIPR model is used to verify ____ of SW.

a. Reachability

b. Observability

c. Infection

d. None

4) Reachability deals with the defect type of ____.

a. Error

b. Fault

c. Failure

d. None

5) Infection of SW means ____.

a. Failure

b. Fault

c. Error

d. Propagation

6) Propagation means to alter ____.

a. Inputs

b. Outputs

c. Internal state

d. Final state

7) User-defined test classes should extend JUNIT ___ class.

a. TestCae

b. Assert

c. Both a and b

d. None

8) System is initialized by ___ method.

a. SetUp

b. TestCase

c. TearDown

d. All

9) User-defined TestRunner class ___ junit TestRunner class.

a. Implements

b. Extends

c. Both a and b

d. None

10) System resources are released by ___ method.

a. SetUp

b. TestCase

c. TearDown

d. All

11) JUNIT TestSuite class extends JUNIT ____ class.

a. Assert

b. Test

c. both a and b

d. None

12) JUNIT TestCase class extends JUNIT ___ class.

a. Abstract

b. Interface

c. Collection

d. All

13) JUNIT TestResult class object type is ___.

a. String

b. Boolean

c. Integer

d. All

14) JUNIT TestResult class ___ test class.

a. Implements

b. Extends

c. Both a and b

d. None

15) User-defined TestSuite class implements JUNIT ____.

a. Test

b. TestSuite

c. Both a and b

d. None

16) Which assert method takes string, expected and actual values?

a. AssertSame

b. AssertTrue

c. AssertNull

d. AssertNone

17) Which assert method takes string and boolean parameters?

a. AssertEquals

b. AssertSame

c. AssertNull

d. AssertFalse

18) teardown( ) method is run ___ a test method.

a. Together

b. At the same time

c. Before

d. After

19) Fixture includes ____ methods.

a. Set( )

b. Get ( )

c. Both a and b

d. None

20) Test cases in TestSuite depend on _____.

a. Each other

b. Type of test suite object

c. State

d. None

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Make A Database In Historical Studies

Authors: Tiago Luis Gil

1st Edition

3030782409, 978-3030782405

More Books

Students also viewed these Databases questions

Question

The paleolithic age human life, short write up ?

Answered: 1 week ago

Question

What is the relationship between humans and nature?

Answered: 1 week ago