用户工具

站点工具


cookbook:ut

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
cookbook:ut [2021/10/19 14:57] ploughcookbook:ut [2022/01/10 13:09] (当前版本) plough
行 16: 行 16:
     File resFile = client.downloadFile(fileId);     File resFile = client.downloadFile(fileId);
     assertEquals(captor.getValue().getId(), fileId);     assertEquals(captor.getValue().getId(), fileId);
 +</code>
 +
 +===== Spring UT =====
 +<code>
 +@SpringBootTest
 +@TestPropertySource(locations = "classpath:test.properties")
 +public class ColumnStrategyManagerTest extends AbstractTestNGSpringContextTests {
 +  @Autowired ApplicationContext ctx;
 +...
 </code> </code>
cookbook/ut.txt · 最后更改: 2022/01/10 13:09 由 plough

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki