@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD,ANNOTATION_TYPE}) @ExtendWith(value=org.xwiki.test.integration.junit5.ValidateConsoleExtension.class) @ExtendWith(value=org.xwiki.test.docker.internal.junit5.XWikiDockerExtension.class) @ExtendWith(value=org.xwiki.test.docker.internal.junit5.TestReferenceParameterResolver.class) @TestInstance(value=PER_CLASS) @TestMethodOrder(value=org.junit.jupiter.api.MethodOrderer.OrderAnnotation.class) public @interface UITest
Modifier and Type | Optional Element and Description |
---|---|
Browser |
browser |
Database |
database |
String[] |
databaseCommands |
String |
databaseTag |
boolean |
debug |
ExtensionOverride[] |
extensionOverrides |
String[] |
extraJARs |
ServletEngine[] |
forbiddenEngines |
String |
jdbcDriverVersion |
boolean |
office
Note: The version of LibreOffice is read from the current
pom.xml . |
boolean |
offline |
String[] |
profiles |
String[] |
properties |
boolean |
resolveExtraJARs |
boolean |
saveDatabaseData |
ServletEngine |
servletEngine |
String |
servletEngineTag |
int[] |
sshPorts |
boolean |
verbose |
boolean |
vnc |
public abstract ServletEngine servletEngine
ServletEngine
public abstract boolean verbose
public abstract boolean debug
public abstract boolean saveDatabaseData
public abstract boolean offline
public abstract String servletEngineTag
public abstract String databaseTag
public abstract String jdbcDriverVersion
public abstract boolean vnc
public abstract String[] properties
xwiki.properties
with Velocity (check xwiki.properties.vm
to find the list of supported
properties)public abstract ExtensionOverride[] extensionOverrides
public abstract String[] extraJARs
groupId:artifactId
) that should be
added to WEB-INF/lib
. For example this is useful for artifacts containing Hibernate mapping files
since those cannot currently be loaded as extensions.public abstract boolean resolveExtraJARs
public abstract int[] sshPorts
host.testcontainers.internal
host name). This is in addition to port
8080
which is always added. For example if you need XWiki to send a mail to a SMTP server
running on port 3025 on the host, you should add port 3025 to the list.public abstract String[] profiles
public abstract boolean office
pom.xml
.ServletContainerExecutor
public abstract ServletEngine[] forbiddenEngines
public abstract String[] databaseCommands
character-set-server=utf8mb4
Copyright © 2004–2021 XWiki. All rights reserved.