Package io.quarkus.test.bootstrap
Class DevModeQuarkusService
- java.lang.Object
-
- io.quarkus.test.bootstrap.BaseService<RestService>
-
- io.quarkus.test.bootstrap.RestService
-
- io.quarkus.test.bootstrap.DevModeQuarkusService
-
- All Implemented Interfaces:
Service,org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
public class DevModeQuarkusService extends RestService
-
-
Field Summary
-
Fields inherited from class io.quarkus.test.bootstrap.BaseService
context, DELETE_FOLDER_ON_EXIT, SERVICE_STARTUP_TIMEOUT, SERVICE_STARTUP_TIMEOUT_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description DevModeQuarkusService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyFile(String file, String target)DevModeQuarkusServiceenableContinuousTesting()Enables continuous testing if and only if it wasn't enabled already (no matter what the current state is) and there are no tests to run or all tests are passing.voidmodifyFile(String file, Function<String,String> modifier)-
Methods inherited from class io.quarkus.test.bootstrap.RestService
given, https, management, mutiny, mutiny, relaxedHttps, start
-
Methods inherited from class io.quarkus.test.bootstrap.BaseService
close, getConfiguration, getDisplayName, getHost, getHost, getLogs, getName, getPort, getPort, getProperties, getProperty, getPropertyFromContext, getScenarioId, getServiceFolder, getURI, getURI, init, isAutoStart, isRunning, logs, onPostStart, onPreStart, register, restart, restartAndWaitUntilServiceIsStarted, setAutoStart, stop, withProperties, withProperty, withProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.test.bootstrap.Service
getProperty, validate
-
-
-
-
Method Detail
-
enableContinuousTesting
public DevModeQuarkusService enableContinuousTesting()
Enables continuous testing if and only if it wasn't enabled already (no matter what the current state is) and there are no tests to run or all tests are passing. Logic required for second re-enabling of continuous testing is more robust, and we don't really need it. Same goes for scenario when testing is enabled and tests fail.- Returns:
- DevModeQuarkusService
-
-