True
BddSpecificationTemplate
$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$);
}
}
}
True
True
$NAME$
cs
False
True
True
InCSharpProjectFile
True
fileheader()
-1
0
True
fileDefaultNamespace()
1
True
getAlphaNumericFileNameWithoutExtension()
2
True
3
True
4
True
5
True
6
True
7
True
8
True
manual
<RelativeConfig File="$NAME$Steps.cs" />
0
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();
}
}
}