摘要:
Junit4 测试代码 import org.junit.Test; import org.junit.runner.RunWith; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration({"classpath:/META IN 阅读全文
摘要:
Idea Live Temlpates 自定义代码 目的 加快常用代码的书写 使用 1. 打开Settings 快捷键 Ctrl+Alt+S 2. 选中Live Templates 3. 选中temlpates group 添加一个分组 4. 选中刚才创建的分组,添加一个Live Temlpates 阅读全文
摘要:
使用JUnit4运行的,根据自己喜好 话不多说直接上代码 运行查看接收邮箱,如下图: 阅读全文