473,503 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NUnit testing of multiple assemblies with separate config files

I have several assemblies, in separate dll:s, each with nunit tests
embedded. Every assembly requires its own config file.
I would like to run all nunit tests on the same command line. Like this:
nunit-console.exe foo.dll bar.dll


Both foo.dll.config and bar.dll.config exists in the same directory. What
seems to happen, though, is that only one of the config files is loaded
(bar.dll.config), wich causes my nunit tests in foo.dll to fail.

Am I doing something wrong? How do I solve this? I want to force
nunit-console to read the config file for each dll.

The main reason I want a single command line is that I want to be able to
generate one single large xml ouput for our entire product.

(I am using NUnit 2.1.4 and .NET 1.1)

Thanks,
Klas Mellbourn
Nov 22 '05 #1
1 2508
submit your problem to the good folks at WWW.NUNIT.ORG
They will be able to help.

--- Nick

"Klas Mellbourn" <Kl**@Mellbourn.net> wrote in message
news:ek**************@tk2msftngp13.phx.gbl...
I have several assemblies, in separate dll:s, each with nunit tests
embedded. Every assembly requires its own config file.
I would like to run all nunit tests on the same command line. Like this:
nunit-console.exe foo.dll bar.dll


Both foo.dll.config and bar.dll.config exists in the same directory. What
seems to happen, though, is that only one of the config files is loaded
(bar.dll.config), wich causes my nunit tests in foo.dll to fail.

Am I doing something wrong? How do I solve this? I want to force
nunit-console to read the config file for each dll.

The main reason I want a single command line is that I want to be able to
generate one single large xml ouput for our entire product.

(I am using NUnit 2.1.4 and .NET 1.1)

Thanks,
Klas Mellbourn

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
494
by: Klas Mellbourn | last post by:
I have several assemblies, in separate dll:s, each with nunit tests embedded. Every assembly requires its own config file. I would like to run all nunit tests on the same command line. Like this: ...
1
1689
by: Peter Rilling | last post by:
When running my unit tests for our web project, I am having a difficult time getting values from the config file. When running from the web server, the config file is able to be read from the...
12
1940
by: Mark Broadbent | last post by:
Hi guys, just going through remoting at the moment and a couple of questions relating to .net in general has surfaced. Firstly I have seen in the designer that for the namespace and many of its...
4
4185
by: Frank Rizzo | last post by:
I have a DLL that relies on an XML file (that's in the same folder as the DLL) to read some startup information. When I test my DLL, it seems like NUnit actually copies the DLL into some temp...
3
2776
by: Shikari Shambu | last post by:
Hi All, I have a situation where multiple applications are sharing some pages/ controls. So, I have a separate common project that has the common pages/ controls. My question is how do I...
3
1806
by: JJ | last post by:
Hi, In Nunit testing with asp.net are you guys creating a separate Test assembly for testing or integrating right in class themselves? Is anyone using a third party Unit Test addon for Nunit to...
20
1980
by: Parag | last post by:
Hi, I am trying to figure out best testing tool for my project. I have narrowed down my requirements to two tools NUNIT and VSTS unit. But I have used neither and I have to use only one of them....
3
2045
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source...
1
2985
by: nyathancha | last post by:
Hi, I am using WSE to implement security using x509 certificates. This works when I use a windows client but throws an exception when I use NUnit. My Code looks as follows : UsernameToken...
2
2232
by: Mark Elliott | last post by:
Hi All, I'm just playing with asp.net mvc and link-to-sql for the first time. I'm using visual web developer 2008. I create the project fine, choose nunit as my test framework in the wizard. ...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5596
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3170
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.