Project.addTestRunnerConfiguration

Adds a test runner configuration for the root package.

class Project
string
addTestRunnerConfiguration
(,
bool generate_main = true
,
string base_config = ""
,
NativePath custom_main_file = NativePath()
)

Parameters

settings GeneratorSettings

The generator settings to use

generate_main bool

Whether to generate the main.d file

base_config string

Optional base configuration

custom_main_file NativePath

Optional path to file with custom main entry point

Return Value

Type: string

Name of the added test runner configuration, or null for base configurations with target type none

Meta