Book a Demo

Author Topic: EA not reporting same as NUnit  (Read 3056 times)

lmmartin

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
EA not reporting same as NUnit
« on: September 23, 2008, 04:06:04 am »
I am trying to use EA's test documentaion with NUnit Tests.

When I run NUnit all of the tests pass, but EA records some of them as failing.  It seems that not all of the classes are being initilaized when the tests are run through EA.  Is there a reason?  Does EA use the output files from NUnit or incorporate the NUnit classes directly?

Upon further investigation it seems that EA does not allow datasets to be called. The class I have created will not populate the dataset from Oracle tables when the test is run in EA but will if the test is run in NUnit.  Is there something I have missed?


L.Martin
« Last Edit: September 23, 2008, 05:30:30 am by lmmartin »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA not reporting same as NUnit
« Reply #1 on: September 23, 2008, 08:17:11 am »
EA calls NUnit on the command line and parses the output.  If NUnit is failing some tests when run from EA, then the command line must be wrong.

If on the other hand, EA is reporting different results than NUnit gives in the EA output window, then you should submit a bug report to sparx systems including the NUnit output in question.
« Last Edit: September 23, 2008, 08:21:21 am by simonm »