New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test result numbers are wrong/empty #505
Comments
Hi @elielia |
Hi, thanks for the response. |
The result XML looks OK except for the cumulative totals. You have six tests, one failed and five passed, Please tell us (1) how you are running the tests... i.e. exact command-line and (2) exactly what versions of both the framework and the runner you are using. |
I've looked into the XML and my finding are:
Do you have any Setups, SetUpFixtureAttribute, TestFixtureSetUpAttribute .... or TearDowns in the tests? |
You are correct. |
@mikkelbu I think you are right that the version of the framework in use is the critical thing here. It's the framework that creates the cumulative totals as well. It's not the current version because the XML for suites doesn't have total warnings and there is no start or end time on the tests. It could be V2 as you say or it could be an early NUnit 3, before we added those features. @elielia We need to know what framework version you are using as well as what .NET runtime you are targeting with your tests in order to figure out any more. |
Closing this issue due to lack of activity. Note that we will still see new comments, so we can reopen the issue if anyone has more to add. |
Running the nunit3-console (3.9) on a dll, and redirect the results to a file.
I always get that the number of tests was 45, but 0 failed, 0 passed, 0 etc., altought I see that most of the tests passed and some failed. The numbers are just wrong.
Thanks
The text was updated successfully, but these errors were encountered: