Table of Contents

Class NpmTest

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Runs the package's test script.

public sealed record NpmTest : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NpmTest>

Inheritance

Implements

Properties

Arguments

Arguments forwarded to the test script after --.

public IReadOnlyList<string> Arguments { get; init; }

Property Value

IReadOnlyList<string>

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

IgnoreScripts

Skips package lifecycle scripts.

public bool IgnoreScripts { get; init; }

Property Value

bool

ScriptShell

The shell used to execute scripts.

public string? ScriptShell { get; init; }

Property Value

string?