Table of Contents

Interface IDslParser

Namespace
TinyBDD.Extensions.FileBased.Parsers
Assembly
TinyBDD.Extensions.FileBased.dll

Defines the contract for parsing file-based scenario definitions.

public interface IDslParser

Methods

ParseAsync(string, CancellationToken)

Parses a file and returns feature definitions.

Task<FeatureDefinition> ParseAsync(string filePath, CancellationToken cancellationToken = default)

Parameters

filePath string

Path to the file to parse.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<FeatureDefinition>

Parsed feature definition.