C# Класс Bari.Core.Commands.Test.TestCommand

Implements 'test' command, which builds and executes test projects
Наследование: ICommand
Показать файл Открыть проект

Открытые методы

Метод Описание
Run ( Suite suite, string parameters ) : bool

Runs the command

TestCommand ( IBuildContextFactory buildContextFactory, [ targetRoot, IEnumerable projectBuilders, IEnumerable testRunners, IUserOutput output, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory ) : System

Constructs the test command

Приватные методы

Метод Описание
IsRunnerEnabled ( Tests tests, ITestRunner runner ) : bool
RunTests ( Tests tests, IEnumerable projects, IEnumerable buildOutputs ) : bool
RunWithProjects ( IEnumerable projects, bool dumpMode, bool dumpDepsMode ) : IEnumerable

Описание методов

Run() публичный Метод

Runs the command
public Run ( Suite suite, string parameters ) : bool
suite Suite The current suite model the command is applied to
parameters string Parameters given to the command (in unprocessed form)
Результат bool

TestCommand() публичный Метод

Constructs the test command
public TestCommand ( IBuildContextFactory buildContextFactory, [ targetRoot, IEnumerable projectBuilders, IEnumerable testRunners, IUserOutput output, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory ) : System
buildContextFactory IBuildContextFactory Factory interface to create build contexts
targetRoot [ Target file system directory
projectBuilders IEnumerable Available project builders
testRunners IEnumerable Available test runners
output IUserOutput Output interface for the dependency dump functionality
targetParser ICommandTargetParser User-given target string parser
coreBuilderFactory ICoreBuilderFactory Factory for core builder types
Результат System