BDD Framework: How to create your own static test

Similar to the Dynamic Tests, you have to create first the BDD Test by selecting the menu element "Create BDD Test" from the menu: "Unity Test Tools" -> "BDD Extension Framework": the test is going to appear in your Hierarchy window with the name "New Test".

After that, you have to create your Static Component. You can use the empty template called “TempateStaticBDD.cs”: copy it in your script folder and rename the filename and the class name.

When you create your BDD Methods be sure to set the numeric parameter order for all the methods that have to be Step Methods.


When you think you are ready, you can add the Static Component into the integration test: the framework recognises it automatically and populates the scenario.


Back to: BDD Framework: How to create your own dynamic test Read next: BDD Framework: How to avoid to lose information


© 2017 Hud Dimension. All Rights Reserved.