Package io.quarkus.test.junit.main
Interface LaunchResult
public interface LaunchResult
Contains information about a run (via
Launch or QuarkusMainLauncher) of a command line application.
The class is meant to be used as a test method parameter giving the test the ability
to assert various aspects of the run.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidEcho the command line application standard output to the console.intexitCode()Get the exit code of the application.default StringGet the command line application error output as a single string.Get the command line application error output as a list of strings.default StringGet the command line application standard output as a single string.Get the command line application standard output as a list of strings.
-
Method Details
-
getOutput
Get the command line application standard output as a single string. -
getErrorOutput
Get the command line application error output as a single string. -
echoSystemOut
default void echoSystemOut()Echo the command line application standard output to the console. -
getOutputStream
Get the command line application standard output as a list of strings. Each line of output correspond to a string in the list. -
getErrorStream
Get the command line application error output as a list of strings. Each line of output correspond to a string in the list. -
exitCode
int exitCode()Get the exit code of the application.
-