Idea中单测JunitTest环境运行Maven spring项目profile环境选择
1 背景Idea单测4.xSpring项目常见一种写法如下@RunWithapplicationContextAbstractTransactionalJUnit4SpringContextTests@RunWith(SpringJUnit4ClassRunner.class)@Rollback(false)@ContextConfiguration(locations = {"classpath:/applicationContext.xml"})public abstract cla
翻译
2021-09-19 19:38:00 ·
1419 阅读 ·
0 评论