随笔分类 - 单元测试
摘要:添加依赖 <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.8.8</version> <scope>test</scope> </dependency> 使用DataProvi
阅读全文
摘要:两种方式 测试 该接口的单元测试的方法,在@Test 里面加上异常的 class名称 @Test(expectedExceptions= {NestedServletException.class}) public void testCreateServiceWithInvalidParamters
阅读全文
摘要:PipeLine图解,在本地缓存,一次性发送 IMPORTANT NOTE: While the client sends commands using pipelining, the server will be forced to queue the replies, using memory.
阅读全文
摘要:依赖 <!-- mybatis测试依赖 --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter-test</artifactId> <version>1.3
阅读全文