Skip to content

Commit

Permalink
#18: Update markdow documentation of Web API Testing scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinCelej committed Jul 4, 2022
1 parent 829bcfb commit f2bf9c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Web/Synergy.Web.Api.Testing/Features/Markdown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private string GetUrlTo(string header)
private static void InsertScenarioStatusTable(StringBuilder report, Scenario scenario)
{
report.AppendLine("| # | Step Actions | Status |");
report.AppendLine("| - | - | - |");
report.AppendLine("|---|--------------|--------|");
foreach (var step in scenario.Steps)
{
report.AppendLine($"| {step.No} | {step.Title} | OK |");
Expand All @@ -99,7 +99,7 @@ private static void InsertScenarioStatusTable(StringBuilder report, Scenario sce
private static void InsertOperationResponseStatusTable(StringBuilder report, HttpOperation operation)
{
report.AppendLine($"| Expected Results | Status |");
report.AppendLine($"| - | - |");
report.AppendLine($"|-------------------|--------|");
foreach (var assertion in operation.Assertions.Cast<IExpectation>())
{
report.AppendLine($"| {assertion.ExpectedResult} | OK |");
Expand Down

0 comments on commit f2bf9c0

Please sign in to comment.