@@ -50,12 +50,20 @@ public static Engine LazyBDDfy<TStory>(this object testObject, string scenarioTi
5050 /// <param name="scenarioTitle">Overrides the default scenario title and is displayed in the reports.</param>
5151 /// <param name="caller">Caller (populated by [CallerMemberName])</param>
5252 /// <returns></returns>
53- public static Story BDDfy ( this object testObject , string scenarioTitle = null , [ System . Runtime . CompilerServices . CallerMemberName ] string caller = null )
53+ public static Story BDDfy (
54+ this object testObject ,
55+ string scenarioTitle = null ,
56+ [ System . Runtime . CompilerServices . CallerMemberName ]
57+ string caller = null )
5458 {
5559 return InternalLazyBDDfy ( testObject , scenarioTitle ?? Configurator . Humanizer . Humanize ( caller ) ) . Run ( ) ;
5660 }
5761
58- public static Engine LazyBDDfy ( this object testObject , string scenarioTitle = null , [ System . Runtime . CompilerServices . CallerMemberName ] string caller = null )
62+ public static Engine LazyBDDfy (
63+ this object testObject ,
64+ string scenarioTitle = null ,
65+ [ System . Runtime . CompilerServices . CallerMemberName ]
66+ string caller = null )
5967 {
6068 return InternalLazyBDDfy ( testObject , scenarioTitle ?? Configurator . Humanizer . Humanize ( caller ) ) ;
6169 }
@@ -68,22 +76,30 @@ public static Engine LazyBDDfy(this object testObject, string scenarioTitle = nu
6876 /// <param name="scenarioTitle">Overrides the default scenario title and is displayed in the reports.</param>
6977 /// <param name="caller">Caller (populated by [CallerMemberName])</param>
7078 /// <returns></returns>
71- public static Story BDDfy < TStory > ( this object testObject , string scenarioTitle = null , [ System . Runtime . CompilerServices . CallerMemberName ] string caller = null )
72- where TStory : class
79+ public static Story BDDfy < TStory > (
80+ this object testObject ,
81+ string scenarioTitle = null ,
82+ [ System . Runtime . CompilerServices . CallerMemberName ]
83+ string caller = null )
84+ where TStory : class
7385 {
7486 return InternalLazyBDDfy ( testObject , scenarioTitle ?? Configurator . Humanizer . Humanize ( caller ) , typeof ( TStory ) ) . Run ( ) ;
7587 }
7688
77- public static Engine LazyBDDfy < TStory > ( this object testObject , string scenarioTitle = null , [ System . Runtime . CompilerServices . CallerMemberName ] string caller = null )
78- where TStory : class
89+ public static Engine LazyBDDfy < TStory > (
90+ this object testObject ,
91+ string scenarioTitle = null ,
92+ [ System . Runtime . CompilerServices . CallerMemberName ]
93+ string caller = null )
94+ where TStory : class
7995 {
8096 return InternalLazyBDDfy ( testObject , scenarioTitle ?? Configurator . Humanizer . Humanize ( caller ) , typeof ( TStory ) ) ;
8197 }
8298#endif
8399
84100 static Engine InternalLazyBDDfy (
85- object testObject ,
86- string scenarioTitle ,
101+ object testObject ,
102+ string scenarioTitle ,
87103 Type explicitStoryType = null )
88104 {
89105 var testContext = TestContext . GetContext ( testObject ) ;
0 commit comments