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 1 2514
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******** ******@tk2msftn gp13.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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:
> 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...
|
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 web.config. When I run from nUnit, I get a null. I added our config
settings to the nunit-gui.exe.config, but no luck.
Am I missing something.
|
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
associated classes of System.Runtime.Remoting are available, but certain
ones are not. A reference to System.Runtime.Remoting needs to be added to
make available all the unavailable ones. Now although I (think) understand
the concept that an...
|
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 folder (where my XML
file obviously doesn't exist) and executes it there. Obviously the test
fails because the DLL can't find the XML file.
How can I force NUnit to execute the DLL in place?
Or is there any way to have it also copy my XML file to...
|
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 reference these pages/ controls from my ASP.NET web
projects
WEbApp1 url http://localhost/app1 C:\Apps\App1
| |
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 test asp.net?
What is it called, and how do you like what you are using? Any problems
testing user controls with it? Any body have any real world examples of
Nunit with asp.net that they can share. Just a skeleton layout would
suffice. How many...
|
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. Hence can someone who has
used them before share his/her experience on them so that I can get a better
idea and make a proper choice ?
Any link or suggestions are also welcome.
Thanks and Regards,
Parag
|
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 depot. Although
they are different, in some of them we share C# code by referencing source
files that are external (not part of the projects) on each project.
For instance, some of our projects have the typical “sources” file with:
|
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 myCurrentToken = new UsernameToken("xxxx", "YYY",
PasswordOption.SendPlainText);
MyServicesWse adminServices = new MyServicesWse();
|
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. Everything is fine, compiles and the
tests work fine on the basic application. However once I add some linq
things to it, and specifically the line:
WestoriaDataContext westoria = new WestoriaDataContext();
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |