adplus-dvertising
frame-decoration

Question

Usually, a test and its target class are located in the same package, but the source files of tests are stored in a separate directory.

a.

True

b.

False

c.

May be

d.

Can't say

Posted under Java Spring Framework

Answer: (a).True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Usually, a test and its target class are located in the same package, but the source files of tests are stored in a separate directory.

Similar Questions

Discover Related MCQs

Q. Method to perform cleanup tasks:-

Q. The static assert methods is declared in the:-

Q. Attribute which specifies the exception type:-

Q. Test data sets are provided by data providers, which are methods with the:-

Q. An object that simulates a dependent object:-

Q. An Object which usually knows how its methods are expected to be called:-

Q. Libraries that can help create mock objects:-

Q. Test used to test several units in combination as a whole.

Q. Spring supports web controller testing by providing Servlet API:-

Q. Base class to access the managed application context through the inherited getApplicationContext() method.

Q. The TestContext framework provides two test execution listeners related to context management:-

Q. Interface which can provide access to the managed application context through the protected field applicationContext:-

Q. In JUnit 4, you can simply run your test with the test runner SpringJUnit4ClassRunner.

Q. Method to indicate that the application context is dirty.

Q. In JUnit4, to explicitly specify a Spring-specific test runner for running your test.

Q. Annotation for SpringJUnit4ClassRunner:-

Q. This class implements the ApplicationContextAware interface, so you can get access to the managed application context:-

Q. AbstractJUnit38SpringContext class also implements the ApplicationContextAware interface.

Q. Spring JUnit 3 legacy support in releases prior to 2.5, your test class can extend the:-

Q. AbstractDependencyInjectionSpringContextTests supports dependency injection.