This project is read-only.
1
Vote

Problem with the test output

description

Hi,
Thanks for this great project!
I have a problem.
I'm using Specflow with NUnit
The tests output from NUnit.Parallel is different than NUnit runner
1) With NUnit runner, the output contains:
***** (Before every test)
Test name
test output
test output
test output
***** (After every test)
So I can now for each test is the output

But with
NUnit.Parallel:
1) There is no:
***** (Before every test)
2) And there is no:
***** (After every test)
3) There is empty row between every 2 rows

Because of the above mentioned problems, I can't use NUnit.Parallel
because SpecFlow reports (after test execution) can contain the test output for each and every test
But it needs tests output like the regular NUnit runner
This is a great feature of SpecFlow - to show the tests output in the report, because their test output is very helpful to understand where exactly is the exception (in which step.)

Thanks,
Liraz

file attachments

comments

lirazhaim1 wrote Oct 29, 2015 at 10:48 AM

Tests-output from regular NUnit runner:
***** SpecFlowExample.SpecFlowFeature1Feature.AddThreeNumbers
Given I have entered 50 into the calculator
-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(50) (0.0s)
And I have entered 70 into the calculator
-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(70) (0.0s)
And I have entered 10 into the calculator
-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(10) (0.0s)
When I press add
-> done: SpecFlowFeature1Steps.WhenIPressAdd() (0.0s)
Then the result should be 130 on the screen
-> error: The method or operation is not implemented.
***** SpecFlowExample.SpecFlowFeature1Feature.AddTwoNumbers
Given I have entered 50 into the calculator
-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(50) (0.0s)
And I have entered 70 into the calculator
-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(70) (0.0s)
When I press add
-> done: SpecFlowFeature1Steps.WhenIPressAdd() (0.0s)
Then the result should be 120 on the screen
-> error: The method or operation is not implemented.


Tests-output from NUnit.Parallel:
Given I have entered 50 into the calculator

-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(50) (0.0s)

And I have entered 70 into the calculator

-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(70) (0.0s)

And I have entered 10 into the calculator

-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(10) (0.0s)

When I press add

-> done: SpecFlowFeature1Steps.WhenIPressAdd() (0.0s)

Then the result should be 130 on the screen

-> error: The method or operation is not implemented.

Given I have entered 50 into the calculator

-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(50) (0.0s)

And I have entered 70 into the calculator

-> done: SpecFlowFeature1Steps.GivenIHaveEnteredIntoTheCalculator(70) (0.0s)

When I press add

-> done: SpecFlowFeature1Steps.WhenIPressAdd() (0.0s)

Then the result should be 120 on the screen

-> error: The method or operation is not implemented.