1. 程式人生 > >Spring整合activiti單元測試

Spring整合activiti單元測試

context ons col unit test junit config har 配置

 1 **
 2  * Spring測試activiti配置是否正常
 3  * <p>Title: SpringActivitiTest</p>
 4  * <p>Description: </p>
 5  * <p>School: qiqihar university</p> 
 6  * @author    BQ
 7  * @date    2017年9月9日上午9:40:57
 8  * @version 1.0
 9  */
10 @Transactional
11 @RunWith(SpringJUnit4ClassRunner.class
) 12 @ContextConfiguration(locations = { "classpath:spring/applicationContext-*.xml" }) 13 public class SpringActivitiTest { 14 15 @Autowired 16 public RepositoryService repositoryService; 17 18 @Test 19 public void testBuilder() { 20 21 } 22 23 }

Spring整合activiti單元測試