Class BunTest
- Namespace
- DotNetDo
- Assembly
- DotNetDo.Core.dll
Runs Bun's test runner.
public sealed record BunTest : ExecToolCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<BunTest>Inheritance
Implements
Properties
Bail
Exits after this many failures.
public int? Bail { get; init; }Property Value
- int?
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Coverage
Generates a coverage profile.
public bool Coverage { get; init; }Property Value
PassWithNoTests
Exits successfully when no tests are found.
public bool PassWithNoTests { get; init; }Property Value
Patterns
File-name patterns selecting tests.
public IReadOnlyList<string> Patterns { get; init; }Property Value
TestNamePattern
Runs only test names matching this expression.
public string? TestNamePattern { get; init; }Property Value
Timeout
Per-test timeout in milliseconds.
public int? Timeout { get; init; }Property Value
- int?
Todo
Includes todo tests.
public bool Todo { get; init; }Property Value
UpdateSnapshots
Updates snapshots.
public bool UpdateSnapshots { get; init; }