BDL Code Generation Engine

The Silk Performer .NET Add-On has a BDL Code Generation Engine that generates a BDL script based on the meta data information of the compiled .NET assembly (.NET test driver). The engine is invoked when a TryScript run is started in Microsoft Visual Studio .NET. The compiled .NET assembly is scanned for classes that have the VirtualUser attribute applied. Those classes are then scanned for methods that have either a Transaction or TestMethod attribute applied to them. The sequence of methods is important because calls to test methods, which are methods with the TestMethod attribute, are scripted in the transaction, which is a method with the Transaction attribute, that is declared prior to the test method.