Files
prefab-page-detail/Prefab.Tests/Infrastructure/PrefabHarnessOptions.cs
2025-10-27 17:39:18 -04:00

13 lines
554 B
C#

namespace Prefab.Tests.Infrastructure;
/// <summary>
/// Configures the reusable harness with the desired run mode and optional knobs.
/// </summary>
/// <param name="Mode">The execution mode (debug or ephemeral).</param>
/// <param name="EnableAspireDashboard">True to keep the Aspire dashboard enabled.</param>
/// <param name="DisablePortRandomization">True to disable randomized ports in Aspire.</param>
public sealed record PrefabHarnessOptions(
RunMode Mode,
bool EnableAspireDashboard = false,
bool DisablePortRandomization = false);