Skip to content
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

NUnitLite does not notify teamcity about failed tests on OneTimeSetup failure #81

Open
zelins opened this issue Aug 26, 2022 · 2 comments

Comments

@zelins
Copy link

zelins commented Aug 26, 2022

Hi Nunit community!

Seems that there is a bug in NUnitLite runner (AutoRun class)

On our project we currently have 27 tests (2 are ignored), 14 of them are dependent on OneTimeSetUp method.
When OneTimeSetup method throws an unhandled exception then 14 tests are just skipped and team city step passes successfully despite of these 14 failed tests. It just shows that 11 tests passed
image
image

@rprouse
Copy link
Member

rprouse commented Jan 9, 2023

I suspect this is a bug in the Teamcity adapter which was written by them. I am transferring to there.

@rprouse rprouse transferred this issue from nunit/nunit Jan 9, 2023
@NikolayPianikov
Copy link
Member

@zelins could you please share a test project to reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants