class StartRedisGrailsIntegrationExtension extends AbstractRedisGrailsExtension implements IGlobalExtension
Integration tests require a fully running server. This extension will start a single Redis instance for the life of
the entire test run if an existing instance is not detected, exposing it to the application via the REDIS_HOST
and REDIS_PORT system properties (which the Grails redis configuration reads).
| Type | Name and description |
|---|---|
static RedisContainer |
redisContainer |
| Properties inherited from class | Properties |
|---|---|
class AbstractRedisGrailsExtension |
DEFAULT_REDIS_PORT, DEFAULT_REDIS_VERSION, REDIS_VERSION_PROPERTY |
| Constructor and description |
|---|
StartRedisGrailsIntegrationExtension() |
| Methods inherited from class | Name |
|---|---|
class AbstractRedisGrailsExtension |
getDesiredRedisDockerName, getDesiredRedisVersion, isIntegrationSpec, isIntegrationTestRun, isRedisAlreadyRunning |