in src/main/kotlin/com/pestphp/pest/configuration/PestRunConfiguration.kt [137:164]
fun applyTestArguments(command: PhpCommandSettings, coverageArguments: List<String>) {
val config = PhpTestFrameworkSettingsManager.getInstance(project)
.getOrCreateByInterpreter(PestFrameworkType.instance, interpreter, true)
?: throw ExecutionException(PestBundle.message("DIALOG_MESSAGE_COULD_NOT_FIND_PHP_INTERPRETER"))
val version = null
val workingDirectory = getWorkingDirectory(project, settings, config)
?: throw ExecutionException(PhpBundle.message("php.interpreter.base.configuration.working.directory"))
PestRunConfigurationHandler.instance.prepareCommand(
project,
command,
config.executablePath!!,
version
)
command.importCommandLineSettings(settings.commandLineSettings, workingDirectory)
fillTestRunnerArguments(
project,
workingDirectory,
settings.runnerSettings,
coverageArguments,
command,
config,
PestRunConfigurationHandler.instance
)
}