Book a Demo

Author Topic: Nunit test always pass  (Read 4892 times)

razzo78

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Nunit test always pass
« on: June 18, 2018, 07:05:21 pm »
Hi,
i have create test class and connect it with execution analyzer.
Whenever I run a test (although I have a Assert.Fail), "test scripts" result is always "Pass" and never "Fail".
Why? What can I do?




piwaneczko

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Nunit test always pass
« Reply #1 on: June 17, 2020, 08:48:54 pm »
Hi, I have the same issue  :-X. Did you have resolved your problem? I was writing e-mail to EA support, but with response, that they couldn't reproduce this.  :-[
« Last Edit: June 17, 2020, 08:50:57 pm by piwaneczko »

piwaneczko

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Nunit test always pass
« Reply #2 on: June 24, 2020, 11:29:07 am »
If somebody would like to reproduce this problem I've created example model with VS solution wit other not working notes inside. Please download it from my github: https://github.com/piwaneczko/ea-tests-record

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Nunit test always pass
« Reply #3 on: June 29, 2020, 11:11:42 am »
It has been a long time since I've looked at this.

I suspect that the output from NUnit has changed enough so that EA parsing the output doesn't see the errors.