1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Description/@EntryValue">BddSpecificationTemplate</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Text/@EntryValue">$HEADER$using Stratis.Bitcoin.IntegrationTests.TestFramework;
using Xunit;
// Disable warnings about "this" qualifier to make the Specification more readable
// ReSharper disable ArrangeThisQualifier

namespace $NAMESPACE$
{
public partial class $SpecificationName$Specification : BddSpecification
{
[Fact]
public void $SpecificationName$Test()
{
Given($a_state$);
And($a_condition$);

When($something_happens$);
And($something_async_happens$);

Then($a_result_should_be_observed$);
And($it_should_satisfy_our_specification$);
}
}
}</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Reformat/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/CustomProperties/=FileName/@EntryIndexedValue">$NAME$</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/CustomProperties/=Extension/@EntryIndexedValue">cs</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/CustomProperties/=ValidateFileName/@EntryIndexedValue">False</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Applicability/=File/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Scope/=E8F0594528C33E45BBFEC6CFE851095D/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Scope/=E8F0594528C33E45BBFEC6CFE851095D/Type/@EntryValue">InCSharpProjectFile</s:String>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=HEADER/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=HEADER/Expression/@EntryValue">fileheader()</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=HEADER/InitialRange/@EntryValue">-1</s:Int64>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=HEADER/Order/@EntryValue">0</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=NAMESPACE/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=NAMESPACE/Expression/@EntryValue">fileDefaultNamespace()</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=NAMESPACE/Order/@EntryValue">1</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=SpecificationName/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=SpecificationName/Expression/@EntryValue">getAlphaNumericFileNameWithoutExtension()</s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=SpecificationName/Order/@EntryValue">2</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=a_005Fstate/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=a_005Fstate/Order/@EntryValue">3</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=a_005Fcondition/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=a_005Fcondition/Order/@EntryValue">4</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=something_005Fhappens/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=something_005Fhappens/Order/@EntryValue">5</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=something_005Fasync_005Fhappens/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=something_005Fasync_005Fhappens/Order/@EntryValue">6</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=a_005Fresult_005Fshould_005Fbe_005Fobserved/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=a_005Fresult_005Fshould_005Fbe_005Fobserved/Order/@EntryValue">7</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=it_005Fshould_005Fsatisfy_005Four_005Fspecification/@KeyIndexDefined">True</s:Boolean>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Field/=it_005Fshould_005Fsatisfy_005Four_005Fspecification/Order/@EntryValue">8</s:Int64>
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Section/=AA27F2FA714E4B428DCB24B2E7453910/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Section/=AA27F2FA714E4B428DCB24B2E7453910/LocationSelectorName/@EntryValue">manual</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Section/=AA27F2FA714E4B428DCB24B2E7453910/LocationSelectorConfig/@EntryValue"><RelativeConfig File="$NAME$Steps.cs" /></s:String>
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Section/=AA27F2FA714E4B428DCB24B2E7453910/Order/@EntryValue">0</s:Int64>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=4D5CA268BE4FCC48BB555E5B82CFF411/Section/=AA27F2FA714E4B428DCB24B2E7453910/SectionPlain/Text/@EntryValue">using System.Threading.Tasks;
using FluentAssertions;
using Stratis.Bitcoin.IntegrationTests.TestFramework;
using Xunit.Abstractions;
namespace $NAMESPACE$
{
public partial class $SpecificationName$Specification : BddSpecification
{
public $SpecificationName$Specification(ITestOutputHelper output) : base(output) {}
protected override void BeforeTest()
{
}
protected override void AfterTest()
{
}
public void $a_state$()
{
}
public void $a_condition$()
{
}
public void $something_happens$()
{
}
public async Task $something_async_happens$()
{
}
public void $a_result_should_be_observed$()
{
}
public void $it_should_satisfy_our_specification$()
{
"".Should().NotBeNullOrWhiteSpace();
}
}
}</s:String></wpf:ResourceDictionary>