Search in sources :

Example 1 with PicocliCommandLineOptionsParser

use of org.junit.platform.console.options.PicocliCommandLineOptionsParser in project junit5 by junit-team.

the class ConsoleLauncher method execute.

@API(status = INTERNAL, since = "1.0")
public static ConsoleLauncherExecutionResult execute(PrintWriter out, PrintWriter err, String... args) {
    CommandLineOptionsParser parser = new PicocliCommandLineOptionsParser();
    ConsoleLauncher consoleLauncher = new ConsoleLauncher(parser, out, err);
    return consoleLauncher.execute(args);
}
Also used : CommandLineOptionsParser(org.junit.platform.console.options.CommandLineOptionsParser) PicocliCommandLineOptionsParser(org.junit.platform.console.options.PicocliCommandLineOptionsParser) PicocliCommandLineOptionsParser(org.junit.platform.console.options.PicocliCommandLineOptionsParser) API(org.apiguardian.api.API)

Aggregations

API (org.apiguardian.api.API)1 CommandLineOptionsParser (org.junit.platform.console.options.CommandLineOptionsParser)1 PicocliCommandLineOptionsParser (org.junit.platform.console.options.PicocliCommandLineOptionsParser)1