Monday, June 13, 2011

How do you define Spring based Junit classs?

@ContextConfiguration(locations="file:src/test/resources/ApplicationContext.xml")
@Transactional(propagation=Propagation.SUPPORTS,readOnly=true)
public class BusinessUnitListServiceImplTest extends AbstractTransactionalJUnit38SpringContextTests{
@BeforeClass
public static void setUpBeforeClass() throws Exception {
}

@AfterClass
public static void tearDownAfterClass() throws Exception {
}

@Before
protected void setUp() throws Exception {
super.setUp();
}

@After
protected void tearDown() throws Exception {
super.tearDown();
}

public void testAddBusinessUnitList(){
//your unit testings
}
}

No comments:

Post a Comment

Let's try to build scrum masters/project managers/software architects/even a company with training AI models

The concept: The basic concept is to build trained AI model for each role separately in scalable fashion within a private cloud. As an examp...