Class MsTestTraitBridge
Bridges TinyBDD tags to MSTest by writing them to TestContext output. MSTest categories are attribute-based and cannot be added at runtime, so this bridge logs tags for visibility.
public sealed class MsTestTraitBridge : ITraitBridge
- Inheritance
-
MsTestTraitBridge
- Implements
- Inherited Members
Properties
TestContext
The current MSTest context, injected by TinyBDD during test initialization.
public static TestContext? TestContext { get; set; }
Property Value
- TestContext
Methods
AddTag(string)
Maps a TinyBDD tag to MSTest by writing it to the current TestContext.
public void AddTag(string tag)
Parameters
tagstring