类 RedisTestConfiguration

java.lang.Object
cn.jrack.springboot.test.config.RedisTestConfiguration

@Configuration(proxyBeanMethods=false) @Lazy(false) @EnableConfigurationProperties(org.springframework.boot.autoconfigure.data.redis.RedisProperties.class) public class RedisTestConfiguration extends Object
Redis 测试 Configuration,主要实现内嵌 Redis 的启动
  • 构造器详细资料

    • RedisTestConfiguration

      public RedisTestConfiguration()
  • 方法详细资料

    • redisServer

      @Bean public com.github.fppt.jedismock.RedisServer redisServer(org.springframework.boot.autoconfigure.data.redis.RedisProperties properties) throws IOException
      创建模拟的 Redis Server 服务器
      抛出:
      IOException