Docs · API reference · Motus.Recorder.CodeEmit

CodeEmitOptions Class#

Configuration for CodeEmitter.

public sealed class CodeEmitOptions

Inheritance System.Object → CodeEmitOptions

Properties#

Framework Property#

Test framework: "mstest", "xunit", or "nunit".

public string Framework { get; init; }

Property Value#

System.String

MinDelayMs Property#

Minimum delay in milliseconds to emit. Shorter gaps are omitted to reduce noise.

public int MinDelayMs { get; init; }

Property Value#

System.Int32

Namespace Property#

Namespace for the generated code.

public string Namespace { get; init; }

Property Value#

System.String

PreserveTiming Property#

When true, emit Task.Delay calls between actions matching the original user timing.

public bool PreserveTiming { get; init; }

Property Value#

System.Boolean

TestClassName Property#

Name of the generated test class.

public string TestClassName { get; init; }

Property Value#

System.String

TestMethodName Property#

Name of the generated test method.

public string TestMethodName { get; init; }

Property Value#

System.String