@RunWith(SpringRunner.class)注解的作用
    
  sunny123456 2023-12-07 18:47
    阅读:173 
    评论:0 
    推荐:0 
    
  
                我的随笔
    @SpringBootTest与@RunWith注解的区别
    
  sunny123456 2023-12-07 18:45
    阅读:1231 
    评论:0 
    推荐:0 
    
  
                
    【Java应用】使用Mockito进行模拟和测试桩
    
  sunny123456 2023-12-07 18:42
    阅读:1021 
    评论:0 
    推荐:0 
    
  
                
    Java Mockito 快速入门指南 Mock是指使用Mockito创建的模拟对象,它模拟真实对象的行为,用于替代真实对象的依赖项,以便进行独立的单元测试
    
  sunny123456 2023-12-07 18:24
    阅读:412 
    评论:0 
    推荐:0 
    
  
                
    解决:Command line is too long. Shorten command line for xxx or also for Application default configurat
    
  sunny123456 2023-12-06 19:53
    阅读:194 
    评论:0 
    推荐:0 
    
  
                
    Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration 主要是命令行太长了,导致项目启动不成功
    
  sunny123456 2023-12-06 19:52
    阅读:2126 
    评论:0 
    推荐:0 
    
  
                
    @RunWith注解找不到,怎么办? spring-boot-starter-test 2.5.5 版本只需要在类上加上@SpringBootTest即可方法上加@Test,不需要再加@RunWith()注解了。
    
  sunny123456 2023-12-06 19:50
    阅读:694 
    评论:0 
    推荐:0 
    
  
                
    @SpringBootTest 和 @RunWith 注解不能识别 单元测试第一步引入maven依赖
    
  sunny123456 2023-12-06 19:46
    阅读:632 
    评论:0 
    推荐:0 
    
  
                
    java 序列话注解 @Transient
    
  sunny123456 2023-12-06 19:44
    阅读:679 
    评论:0 
    推荐:0 
    
  
                
    java中的关键字transient,将不需要序列化的属性前添加关键字transient,序列化对象的时候,这个属性就不会被序列化
    
  sunny123456 2023-12-06 19:39
    阅读:38 
    评论:0 
    推荐:0 
    
  
                 
                    
                     
                    
                 
                    
                 

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号