This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jun 15, 2014 12:34 AM by Alina Mishina  
Jeff Sylvester Newbie 1 posts since
Jun 10, 2014
Currently Being Moderated

Jun 10, 2014 5:39 PM

Running nUnit Tests Not Finding .config File

Hello,

  I am not very familiar with TeamCity. I was not the one who set things up. However, we are running into a problem where two tests are failing because they are unable to load from the .config file. The file is created as an app.config file in the project and it runs fine locally using the Resharper test runner. Our "Run Tests From" value is set to

 

**\bin\Debug\*Test*dll

**\bin\Debug\*Unit*dll"

 

If any other information would help, please let me know. And advice or thoughts would be welcome.

 

Thank you,

 

Jeff

Alina Mishina JetBrains 570 posts since
May 22, 2014
Currently Being Moderated
Jun 15, 2014 12:34 AM in response to: Jeff Sylvester
Re: Running nUnit Tests Not Finding .config File

Hi,

 

 

Can you please check that these paths with wildcards do not match any other .dlls? For more details read this post - http://stackoverflow.com/questions/5725749/test-projects-not-reading-app-config-in-teamcity-nunit-phase.

More Like This

  • Retrieving data ...