...
Panel | ||||
---|---|---|---|---|
Usage of the AbstractIntegrationTestBase base class
|
Panel | |||||||
---|---|---|---|---|---|---|---|
How to configuration the default test application contextThe annotation @ContextConfiguration(locations = Wiki Markup | {"classpath:applicationContext-csf-unit-tests-default.xml"}) is used to set the default application context for all the junit tests which extend the AbstractIntegrationTestBase .java class. If the project was created using the
If the project was created using the es-project-template (for either the jar or war) then applicationContext-csf-unit-tests-default.xml file can be found it the project's src/test/resources directory. If the was not created using the es-project-template, then the applicationContext-csf-unit-tests-default.xml must be created in the projects src/test/resources directory. To download theTo download the applicationContext-csf-unit-tests-default.xml file, [ | ^applicationContext-csf-unit-tests-default.xml]and select *Save target as... *. {color:red}Be sure to save the file in the. Be sure to save the file in the project's src/test/resources directory. {color} |
Panel | ||||||
---|---|---|---|---|---|---|
How to override for the default test application context |