Interface ITraitBridge
- Namespace
- TinyBDD
- Assembly
- TinyBDD.dll
Abstraction for mapping TinyBDD scenario tags to the host test framework's notion of categories/traits.
public interface ITraitBridge
Remarks
Implementations are provided by adapters such as TinyBDD.Xunit, TinyBDD.NUnit, and TinyBDD.MSTest. They receive tags via AddTag(string) and forward them to the underlying framework where possible (e.g., categories), or log them in the framework reporter.
Methods
AddTag(string)
Adds a tag to the current test using the host framework's capabilities, or logs it when runtime assignment is not supported.
void AddTag(string tag)
Parameters
tagstringThe tag name to associate with the current scenario.