NUnit3 multiple App.config files in Teamcity
Asked Answered
W

1

0

I'm having a strange problem. I have a bunch of integration tests projects. Each test project has a configuration file (app.config).

Currently, in my "Run Integration Tests" build step, the NUnit3 console runner allows me to specify only one config file (where it says "Path to application configuration file"). I have specified the path to one of my integration test app.configs. The problem is, the tests in other test projects fail because the Nunit3 console doesn't recognize their app.config files.

How can I have TeamCity run each test project with its own app.config file in its bin/release folder?

FYI: This is what I have specified in the NUnit assembly lookup: **\bin\Release\*.Integration.Tests.dll

Working answered 23/5, 2018 at 14:43 Comment(0)
W
0

Turns out, this was my problem. After removing all references between my test projects, I noticed that the build time was reduced by 50%.

Working answered 24/5, 2018 at 21:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.