techtalk/SpecFlow — Issue #167: Specflow and xUnit Test Report
Author: Muffon
Created: 2012-02-23 10:12:51+00:00
State: open

Hello,

this is output xml from xunit.console.clr4.exe. /nunit .... I think it's ok.

Assert.Equal() Failure
Expected: 500
Actual: 580 at SpecFlow.StepDefinition2.ThenTheResultHasToBe(Int32 result) in D:\Work\CITests\SpecFlow\StepDefinition2.cs:line 32
at lambda_method(Closure , IContextManager , Int32 )
at TechTalk.SpecFlow.Bindings.MethodBinding.InvokeAction(IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
at TechTalk.SpecFlow.Bindings.StepDefinitionBinding.Invoke(IContextManager contextManager, ITestTracer testTracer, Object[] arguments, TimeSpan& duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStep(StepArgs stepArgs)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnAfterLastStep()
at TechTalk.SpecFlow.TestRunner.CollectScenarioErrors()
at SpecFlow.SecondFeature.ScenarioCleanup() in D:\Work\CITests\SpecFlow\CalculateAddition.feature.cs:line 0
at SpecFlow.SecondFeature.AddThreeNumbers() in d:\Work\CITests\SpecFlow\CalculateAddition.feature:line 11

specflow.exe nunitexecutionreport "D:\Work\CITests\CITest.sln" /out:"D:\Work\CITests\SpecFlow.html"

Specflow parses the xml and generates html output. But there is only summary info.

No info in SummaryFeature or Feature Execution Details

generated html below...

CITest Test Execution Report

CITest Test Execution Report

Generated by SpecFlow at 02/23/2012 11:01 (see http://www.specflow.org/).

Summary

Features	Success rate	Scenarios	Success	Failed	Pending	Ignored
0 features
50%

2	1	1	0	0

Feature Summary

Feature	Success rate	Scenarios	Success	Failed	Pending	Ignored

Feature Execution Details