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 Detail

      • getOutput

        default String getOutput()
        Get the command line application standard output as a single string.
      • getErrorOutput

        default 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

        List<String> 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

        List<String> 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.