Fix indentation #100
GitHub Actions / Report - API Tests - (ubuntu-latest)
failed
Oct 7, 2023 in 0s
Report - API Tests - (ubuntu-latest) ❌
❌ ./results/results.trx
8 tests were completed in 8s with 7 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
TestWare.Samples.API.Features.AgeCalculationsFeature | 1❌ | 2s | ||
TestWare.Samples.API.Features.APIFeature | 7✅ | 1s |
❌ TestWare.Samples.API.Features.AgeCalculationsFeature
❌ ScenarioThatCombinesTwoDifferentApis
Expected string to be "45", but "44" differs near "4" (index 1).
✅ TestWare.Samples.API.Features.APIFeature
✅ DeriveFormula
✅ FactorFormula
✅ IntegrateFormula
✅ SimplifyFormula
✅ SineOperation
✅ SineWrongParameters
✅ WrongEndpoint
Annotations
Check failure on line 0 in ./results/results.trx
github-actions / Report - API Tests - (ubuntu-latest)
TestWare.Samples.API.Features.AgeCalculationsFeature ► ScenarioThatCombinesTwoDifferentApis
Failed test found in:
./results/results.trx
Error:
Expected string to be "45", but "44" differs near "4" (index 1).
Raw output
Expected string to be "45", but "44" differs near "4" (index 1).
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstMismatch()
at FluentAssertions.Primitives.StringValidator.Validate()
at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
at TestWare.Samples.API.StepDefinitions.AgeSteps.ThenAgeAndExpresionShouldBeTheSame() in /home/runner/work/net6-automation-testware/net6-automation-testware/samples/TestWare.Samples.API/StepDefinitions/AgeSteps.cs:line 38
at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments, TimeSpan& duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnAfterLastStep()
at TechTalk.SpecFlow.TestRunner.CollectScenarioErrors()
at TestWare.Samples.API.Features.AgeCalculationsFeature.ScenarioCleanup()
at TestWare.Samples.API.Features.AgeCalculationsFeature.ScenarioThatCombinesTwoDifferentApis() in /home/runner/work/net6-automation-testware/net6-automation-testware/samples/TestWare.Samples.API/Features/AgeCalculations.feature:line 12
Loading