Skip to content

Commit

Permalink
#23: Improved behavioral sample tests
Browse files Browse the repository at this point in the history
Added !!!! as display name for tests generating code from *.feature files
  • Loading branch information
MarcinCelej committed Dec 21, 2023
1 parent 000ab5d commit abfe92e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Synergy.Behaviours.Tests.Samples;
[UsesVerify]
public partial class CalculatorFeature : Feature<CalculatorFeature>
{
[Fact]
[Fact(DisplayName = "!!!!")]
public async Task GenerateFeature()
{
var code = this.Generate(
Expand Down
6 changes: 2 additions & 4 deletions Behaviours/Synergy.Behaviours.Tests/Samples/New.Steps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ namespace Synergy.Behaviours.Tests.Samples;

public partial class NewFeature : Feature<NewFeature>
{
[Fact]
public void GenerateFeature()
{
[Fact(DisplayName = "!!!!")]
public void GenerateFeature() =>
this.Generate(
from: "New.feature",
to: "New.Feature.cs"
);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
FirstNumber: 50,
SecondNumber: 25
}

0 comments on commit abfe92e

Please sign in to comment.