We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e44cae1 commit 38e5d78Copy full SHA for 38e5d78
TestStack.BDDfy.Samples/BDDfy_Rocks.cs
@@ -1,5 +1,6 @@
1
using NUnit.Framework;
2
using TestStack.BDDfy.Core;
3
+using TestStack.BDDfy.Scanners.StepScanners.Fluent;
4
5
namespace TestStack.BDDfy.Samples
6
{
@@ -26,9 +27,19 @@ void AndTheQualityAndMaintainabilityOfMyTestSkyrocket()
26
27
}
28
29
[Test]
- public void Verify()
30
+ public void BDDfy_with_reflective_API()
31
32
this.BDDfy();
33
34
+
35
+ [Test]
36
+ public void BDDfy_with_fluent_API()
37
+ {
38
+ this.Given(_ => Given_I_have_not_used_BDDfy_before())
39
+ .When(_ => WhenIAmIntroducedToTheFramework())
40
+ .Then(_ => ThenILikeItAndStartUsingIt())
41
+ .And(_ => AndTheQualityAndMaintainabilityOfMyTestSkyrocket())
42
+ .BDDfy();
43
+ }
44
45
0 commit comments