nunit / teamcity-event-listener

NUnit Engine extension that helps integration with teamcity
MIT License
11 stars 10 forks source link

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

Open zelins opened 2 years ago

zelins commented 2 years ago

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 commented 1 year ago

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

NikolayPianikov commented 1 year ago

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